[wp-trac] [WordPress Trac] #16212: show_in_menu swaps position with custom menu_page
WordPress Trac
wp-trac at lists.automattic.com
Thu Jan 13 02:44:29 UTC 2011
#16212: show_in_menu swaps position with custom menu_page
--------------------------+------------------------------
Reporter: WraithKenny | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.1
Severity: minor | Resolution: invalid
Keywords: |
--------------------------+------------------------------
Changes (by WraithKenny):
* status: new => closed
* resolution: => invalid
Comment:
Well, it could be a symptom of the flu I'm coming down with ;-)
It's moot anyway because the simple solution is to add
"add_action('admin_menu', 'test_add_page', 9);" to my code... (Occurred to
me late on my way home.)
The issue would be more apparent if you also add_submenu_page under your
add_menu_page, but I suspect if you check if clicking the top-level link
(Test Menu) it'd not show you the echo'd 'Test Menu Page' but rather the
list of Employee entries.
But like I said, on the way home I realized that this needs no action,
maybe a note in the codex about bumping the $priority :-)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16212#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list