[wp-trac] [WordPress Trac] #7841: add_menu_page and Dashboard menu
item
WordPress Trac
wp-trac at lists.automattic.com
Tue Oct 7 11:17:52 GMT 2008
#7841: add_menu_page and Dashboard menu item
------------------------+---------------------------------------------------
Reporter: arena | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.7
Component: crazyhorse | Version: 2.7
Severity: blocker | Keywords:
------------------------+---------------------------------------------------
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>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list