[wp-trac] [WordPress Trac] #14435: Network Admin

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 8 02:28:10 UTC 2010


#14435: Network Admin
--------------------------+-------------------------------------------------
 Reporter:  ryan          |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.1
Component:  Multisite     |     Version:     
 Severity:  normal        |    Keywords:     
--------------------------+-------------------------------------------------
Changes (by Kawauso):

 * cc: Kawauso (added)


Comment:

 Adding a plugin submenu with the 'network_admin_menu' hook results in a
 'Cannot load [myplugin]' error (in this case to network/plugins.php).

 add_submenu_page() adds the hook correctly as 'plugins_page_[myplugin]'
 but on load, get_plugin_page_hookname() causes the hook to be incorrectly
 identified as 'admin_page_[myplugin]'.

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


More information about the wp-trac mailing list