[wp-trac] [WordPress Trac] #27888: Feature request: `get_current_admin_url()` and `get_current_admin_hook()`

WordPress Trac noreply at wordpress.org
Sun Dec 4 20:18:23 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 lucatume):

 Hi there,

 I've created a patch that adds tests to cover the two new functions, let
 me know if it helps. The patch only applies to the the
 `tests/phpunit/tests/admin/includeMisc.php` file.

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


More information about the wp-trac mailing list