Use show_in_nav_menus for attachments. Also add it to register_taxonomy for consistency and have it default to public, not show_ui, like post types. see #13621.

git-svn-id: https://develop.svn.wordpress.org/trunk@15056 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2010-05-29 16:46:46 +00:00
parent 18eb27afd2
commit 60b96042f2
3 changed files with 11 additions and 4 deletions
+1
View File
@@ -50,6 +50,7 @@ function create_initial_post_types() {
'rewrite' => false,
'query_var' => false,
'can_export' => false,
'show_in_nav_menus' => false,
) );
register_post_type( 'revision', array(