[wp-trac] [WordPress Trac] #33837: We should avoid Superglobals when possible
WordPress Trac
noreply at wordpress.org
Sat Sep 12 21:51:23 UTC 2015
#33837: We should avoid Superglobals when possible
----------------------------+-----------------------------
Reporter: wonderboymusic | Owner: wonderboymusic
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.4
Component: General | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
----------------------------+-----------------------------
Changes (by johnbillion):
* keywords: => needs-patch
* version: trunk =>
Comment:
It'd be nice if changes like this soaked for longer than an hour between
the ticket being opened and the change being made.
Issues:
* `wp_validate_action()` is a very confusing function name because it
doesn't really validate anything, especially if the `$action` parameter
isn't passed, and it doesn't deal with WordPress actions.
* Why is an empty string returned on failure instead of boolean `false`?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33837#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list