Set show_ui to true for post and page. Exclude _builtin = true from areas where we need to special case builtin types. fixes #13403

git-svn-id: https://develop.svn.wordpress.org/trunk@14713 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2010-05-17 16:39:36 +00:00
parent 77ab66972b
commit e88dc2d87d
5 changed files with 4 additions and 7 deletions

View File

@@ -17,7 +17,6 @@
function create_initial_post_types() {
register_post_type( 'post', array(
'public' => true,
'show_ui' => false,
'_builtin' => true, /* internal use only. don't use this when registering your own post type. */
'_edit_link' => 'post.php?post=%d', /* internal use only. don't use this when registering your own post type. */
'capability_type' => 'post',
@@ -29,7 +28,6 @@ function create_initial_post_types() {
register_post_type( 'page', array(
'public' => true,
'show_ui' => false,
'_builtin' => true, /* internal use only. don't use this when registering your own post type. */
'_edit_link' => 'post.php?post=%d', /* internal use only. don't use this when registering your own post type. */
'capability_type' => 'page',
@@ -74,7 +72,6 @@ function create_initial_post_types() {
'singular_name' => __( 'Navigation Menu Item' ),
),
'public' => false,
'show_ui' => false,
'_builtin' => true, /* internal use only. don't use this when registering your own post type. */
'capability_type' => 'post',
'hierarchical' => false,