[wp-trac] [WordPress Trac] #33837: We should avoid Superglobals when possible
WordPress Trac
noreply at wordpress.org
Sat Sep 12 02:19:30 UTC 2015
#33837: We should avoid Superglobals when possible
----------------------------+--------------------
Reporter: wonderboymusic | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.4
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+--------------------
Comment (by kitchin):
The commit calls it `wp_validate_action()` but it's really more of a
`wp_raw_action()`. Here's a followup patch for less important stuff. I
didn't rename the function, instead I addressed other little issues, and
simplified !(empty()) for a string. See no reason to copy the potentially
big $_REQUEST array to a new array, unless PHP compilation is smart about
it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33837#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list