[wp-trac] [WordPress Trac] #13958: Deactivating custom post types/taxonomies breaks nav menus
WordPress Trac
wp-trac at lists.automattic.com
Sat Jun 11 00:57:31 UTC 2011
#13958: Deactivating custom post types/taxonomies breaks nav menus
------------------------------+-----------------------
Reporter: WraithKenny | Owner:
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 3.2
Component: Menus | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch commit |
------------------------------+-----------------------
Comment (by nacin):
I think I see now. We only filter out invalids when: `! in_array(
$args['post_status'], array( 'draft', 'any' ) )`. But I imagine we always
ask for 'any' in the admin, so is there a reason for a 'draft' check? Or
it could just be if $post_status != 'publish'...
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13958#comment:35>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list