[wp-trac] Re: [WordPress Trac] #2696: add_menu_page doesn't respect
"access level".
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 26 13:51:06 GMT 2006
#2696: add_menu_page doesn't respect "access level".
----------------------------+-----------------------------------------------
Id: 2696 | Status: new
Component: Administration | Modified: Wed Apr 26 13:51:06 2006
Severity: normal | Milestone:
Priority: normal | Version: 2.1
Owner: anonymous | Reporter: denney
----------------------------+-----------------------------------------------
Comment (by denney):
1. The patch I posted doesn't work with other plugins that use
add_submenu_page(). It keeps trying to redeclare the function. Not good.
So don't use my patch.
2. I am using the "admin_menu()" hook to call "add_menu_page()" because
that's what the Codex says to do. I tried just calling it when it's first
included AND running it through init but I get an error about
"add_menu_page() function doesn't exist".
--
Ticket URL: <http://trac.wordpress.org/ticket/2696>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list