[wp-trac] [WordPress Trac] #14159: menu_page_url not returning correct URL for custom submenus

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 15 23:35:00 UTC 2010


#14159: menu_page_url not returning correct URL for custom submenus
--------------------------+-------------------------------------------------
 Reporter:  williamsba1   |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  3.1      
Component:  Plugins       |     Version:  3.0      
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------
Changes (by duck_):

  * keywords:  => has-patch


Comment:

 If the menu item's parent is unset then it's a submenu of a builtin menu
 otherwise it also has an admin.php URL.

 Was also thinking of trying to get menu_page_url to work for the
 predefined menu slugs (e.g. tools.php)

 Updated unit-tests at #UT10

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14159#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list