[wp-trac] Re: [WordPress Trac] #7841: add_menu_page and Dashboard menu item

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 10 09:17:58 GMT 2008


#7841: add_menu_page and Dashboard menu item
------------------------+---------------------------------------------------
 Reporter:  arena       |        Owner:  arena   
     Type:  defect      |       Status:  assigned
 Priority:  high        |    Milestone:  2.7     
Component:  crazyhorse  |      Version:  2.7     
 Severity:  blocker     |   Resolution:          
 Keywords:              |  
------------------------+---------------------------------------------------
Changes (by arena):

  * owner:  anonymous => arena
  * status:  new => assigned

Comment:

 Replying to [ticket:7841 arena]:

 Apparently fixed on dashboard, but still wrong when editing a post or a
 page ...





 > I have a plugin : MailPress  that i am currently adapting to 2.7.
 >
 > In the plugin settings, i have the option to make all mailpress menu in
 one place (with add_menu_page)
 >
 > When this option is activated,
 >    * When i am on the WordPress Dashboard pane,
 >        * the urls of the menu items of my plugin are this type :
 http://127.0.0.1/wp27/wp-admin/mailpress/mp-admin/mail-
 new.php?page=mailpress/mp-admin/mails.php which leads to a 404 ...
 >    * When i am on any other menu options,
 >        * the urls of the menu items of my plugin are this type :
 http://127.0.0.1/wp27/wp-admin/admin.php?page=mailpress/mp-admin/mail-
 new.php and that is GOOD !
 >
 > Btw, the bug disappears if there is more than one menu item in the
 Dashboard menu
 >
 > i attach the 2.7 release of my plugin (i had to delete some files so
 don't be afraid if some options are not working focus on the menu issue,
 thanks!).

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7841#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list