[wp-trac] [WordPress Trac] #63141: Getting Detected usage of a non-sanitized input variable error into the WordPress core files.

WordPress Trac noreply at wordpress.org
Fri Feb 6 21:51:36 UTC 2026


#63141: Getting Detected usage of a non-sanitized input variable error into the
WordPress core files.
--------------------------+-------------------------------
 Reporter:  viralsampat   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |     Focuses:  coding-standards
--------------------------+-------------------------------
Changes (by sajib1223):

 * keywords:  dev-feedback needs-testing => dev-feedback


Comment:

 When I try to apply the patch
 https://core.trac.wordpress.org/attachment/ticket/63141/63141.5.patch
 against the latest trunk `7.0-alpha-61215-src`, it fails with the
 following message:

 {{{
 Running "patch:63141" (patch) task
 ? Please select a patch to apply 63141.5.patch​ (4.4 KB) - added by
 viralsampat 8 months ago.
 patching file src/wp-includes/class-wp-ajax-response.php
 patching file src/wp-includes/class-wp-application-passwords.php
 patching file src/wp-includes/ms-deprecated.php
 patching file src/wp-includes/rest-api/class-wp-rest-server.php
 Hunk #2 FAILED at 365.
 1 out of 2 hunks FAILED -- saving rejects to file src/wp-includes/rest-api
 /class-wp-rest-server.php.rej
 patching file src/wp-includes/user.php
 Hunk #2 succeeded at 3208 (offset 26 lines).
 Hunk #3 succeeded at 3338 (offset 26 lines).
 }}}

 The patch is failing to apply.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63141#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list