Changeset 3732427 for woocommerce-services/trunk/src/Utils.php
- Timestamp:
- 10/07/2026 11:09:45 AM (3 weeks ago)
- File:
-
- 1 edited
-
woocommerce-services/trunk/src/Utils.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-services/trunk/src/Utils.php
r3350055 r3732427 68 68 */ 69 69 public static function get_sanitized_request_data( string $key, string $default = '' ): string { 70 // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- This accessor is how the nonce itself is read: every caller is a wp_verify_nonce() call in WC_Connect_Migration_Survey. Verifying a nonce here would be circular; the callers are responsible for it. 70 71 return sanitize_text_field( wp_unslash( $_REQUEST[ $key ] ?? $default ) ); 71 72 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)