Make WordPress Core


Ignore:
Timestamp:
05/17/2010 04:39:36 PM (16 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r14699 r14713  
    1818        register_post_type( 'post', array(
    1919                'public'  => true,
    20                 'show_ui' => false,
    2120                '_builtin' => true, /* internal use only. don't use this when registering your own post type. */
    2221                '_edit_link' => 'post.php?post=%d', /* internal use only. don't use this when registering your own post type. */
     
    3029        register_post_type( 'page', array(
    3130                'public' => true,
    32                 'show_ui' => false,
    3331                '_builtin' => true, /* internal use only. don't use this when registering your own post type. */
    3432                '_edit_link' => 'post.php?post=%d', /* internal use only. don't use this when registering your own post type. */
     
    7573                ),
    7674                'public' => false,
    77                 'show_ui' => false,
    7875                '_builtin' => true, /* internal use only. don't use this when registering your own post type. */
    7976                'capability_type' => 'post',
Note: See TracChangeset for help on using the changeset viewer.