[wpmu-trac] [WordPress MU Trac] #501: Plugins in mu-plugins can't add top level pages

WordPress MU Trac wpmu-trac at lists.automattic.com
Fri Nov 16 23:39:27 GMT 2007


#501: Plugins in mu-plugins can't add top level pages
------------------------+---------------------------------------------------
 Reporter:  chmac       |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:          
Component:  component1  |     Version:          
 Severity:  normal      |    Keywords:          
------------------------+---------------------------------------------------
 If a file in the mu-plugins folder calls the function "add_menu_page()"
 the link will display incorrectly. There are several places where WP
 checks if the file exists in the plugins directory, but it doesn't check
 the mu-plugins directory. I've attached a patch for [source:trunk/wp-admin
 /menu-header.php menu-header.php] which (I think) fixes the issue. It
 works for me, but I haven't tested it extensively.

 Unfortunately the patch will need to be re-applied if the code is updated
 in WP. I couldn't see a way to make the changes which would allow WP trunk
 to be gracefully merged in.

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/501>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list