mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
Various bug fixes and improvements to menu management. props ptahdunbar, see #11817.
git-svn-id: https://develop.svn.wordpress.org/trunk@13802 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -63,7 +63,9 @@ function create_initial_post_types() {
|
||||
'query_var' => false,
|
||||
) );
|
||||
|
||||
register_post_type( 'nav_menu_item', array( 'public' => false,
|
||||
register_post_type( 'nav_menu_item', array( 'label' => __('Navigation Menu Items'),
|
||||
'singular_label' => __('Navigation Menu Item'),
|
||||
'public' => false,
|
||||
'show_ui' => false,
|
||||
'_builtin' => true,
|
||||
'capability_type' => 'post',
|
||||
|
||||
Reference in New Issue
Block a user