[wp-trac] [WordPress Trac] #37219: Admin menu with admin_url function

WordPress Trac noreply at wordpress.org
Tue Sep 27 23:25:34 UTC 2016


#37219: Admin menu with admin_url function
------------------------------+------------------
 Reporter:  sebastian.pisula  |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  4.7
Component:  Administration    |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+------------------

Comment (by aaroncampbell):

 We push the use of full URL links pretty much everywhere. Seems odd that
 we don't use them here. Having said that, my main concern is what can
 `$submenu_items[0][2]`, `$item[2]`, `$sub_item_url`, and `$sub_item[2]`
 contain? If they can have absolute URLs already, then it seems like this
 would cause some unexpected explosions, wouldn't it?

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


More information about the wp-trac mailing list