[wp-trac] [WordPress Trac] #27888: Feature request: `get_current_admin_url()` and `get_current_admin_hook()`
WordPress Trac
noreply at wordpress.org
Sun Oct 2 21:52:16 UTC 2016
#27888: Feature request: `get_current_admin_url()` and `get_current_admin_hook()`
-------------------------------------------------+-------------------------
Reporter: Denis-de-Bernardy | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting
Component: Administration | Review
Severity: normal | Version: 3.9
Keywords: needs-unit-tests good-first-bug | Resolution:
has-patch needs-testing | Focuses:
| administration
-------------------------------------------------+-------------------------
Comment (by sudar):
@mwtsn
Thanks for the patch.
I have enhanced your patch by adding phpdoc blocks to the functions.
Also I am wondering if we really need `get_current_admin_hook`, since
right now it is just a wrapper to `current_filter` function.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27888#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list