[wp-trac] [WordPress Trac] #16015: show_in_menu has some menu selection issues
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 29 12:24:11 UTC 2010
#16015: show_in_menu has some menu selection issues
-------------------------------------+------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: Post Types | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+------------------
Comment (by duck_):
Set the $parent_file based on show_in_menu in post.php. Not tested every
usage of $parent_file to test this, but all menus seem to function
correctly. Note that for edit.php?post_type=bar and
edit.php?post_status=foo&post_type=bar the $parent_file is set to the
show_in_menu var via get_admin_parent_page().
I do think that _wp_menu_output needs to be revisited in the future, I
have a patch somewhere with some optimizations but never got round to
testing properly and uploading.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16015#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list