[wp-trac] [WordPress Trac] #60470: Use `filter_input` instead of superglobals where possible

WordPress Trac noreply at wordpress.org
Thu Feb 8 15:41:45 UTC 2024


#60470: Use `filter_input` instead of superglobals where possible
-------------------------+------------------------------
 Reporter:  kkmuffme     |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Security     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by kkmuffme):

 This isn't really related, is it? (very, very tangentially at best)

 ---

 Using filter_input would also finally provide a pathway out of the useless
 unslashing, bc the data from filter_input isn't corrupted by WP's
 unnecessary slashing of superglobals in the first place.

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


More information about the wp-trac mailing list