diff --git a/wp-includes/post.php b/wp-includes/post.php index 4dc72866df..3fd27d6823 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -19,8 +19,8 @@ function create_initial_post_types() { 'singular_label' => __('Post'), 'public' => true, 'show_ui' => false, - '_builtin' => true, - '_edit_link' => 'post.php?post=%d', + '_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', 'hierarchical' => false, 'rewrite' => false, @@ -32,8 +32,8 @@ function create_initial_post_types() { 'singular_label' => __('Page'), 'public' => true, 'show_ui' => false, - '_builtin' => true, - '_edit_link' => 'post.php?post=%d', + '_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', 'hierarchical' => true, 'rewrite' => false, @@ -44,8 +44,8 @@ function create_initial_post_types() { register_post_type( 'attachment', array('label' => __('Media'), 'public' => true, 'show_ui' => false, - '_builtin' => true, - '_edit_link' => 'media.php?attachment_id=%d', + '_builtin' => true, /* internal use only. don't use this when registering your own post type. */ + '_edit_link' => 'media.php?attachment_id=%d', /* internal use only. don't use this when registering your own post type. */ 'capability_type' => 'post', 'hierarchical' => false, 'rewrite' => false, @@ -55,8 +55,8 @@ function create_initial_post_types() { register_post_type( 'revision', array( 'label' => __('Revisions'), 'singular_label' => __('Revision'), 'public' => false, - '_builtin' => true, - '_edit_link' => 'revision.php?revision=%d', + '_builtin' => true, /* internal use only. don't use this when registering your own post type. */ + '_edit_link' => 'revision.php?revision=%d', /* internal use only. don't use this when registering your own post type. */ 'capability_type' => 'post', 'hierarchical' => false, 'rewrite' => false, @@ -67,7 +67,7 @@ function create_initial_post_types() { 'singular_label' => __('Navigation Menu Item'), 'public' => false, 'show_ui' => false, - '_builtin' => true, + '_builtin' => true, /* internal use only. don't use this when registering your own post type. */ 'capability_type' => 'post', 'hierarchical' => false, 'rewrite' => false, @@ -76,44 +76,44 @@ function create_initial_post_types() { register_post_status( 'publish', array( 'label' => _x('Published', 'post'), 'public' => true, - '_builtin' => true, + '_builtin' => true, /* internal use only. */ 'label_count' => _n_noop('Published (%s)', 'Published (%s)') ) ); register_post_status( 'future', array( 'label' => _x('Scheduled', 'post'), 'protected' => true, - '_builtin' => true, + '_builtin' => true, /* internal use only. */ 'label_count' => _n_noop('Scheduled (%s)', 'Scheduled (%s)') ) ); register_post_status( 'draft', array( 'label' => _x('Draft', 'post'), 'protected' => true, - '_builtin' => true, + '_builtin' => true, /* internal use only. */ 'label_count' => _n_noop('Draft (%s)', 'Drafts (%s)') ) ); register_post_status( 'pending', array( 'label' => _x('Pending', 'post'), 'protected' => true, - '_builtin' => true, + '_builtin' => true, /* internal use only. */ 'label_count' => _n_noop('Pending (%s)', 'Pending (%s)') ) ); register_post_status( 'private', array( 'label' => _x('Private', 'post'), 'private' => true, - '_builtin' => true, + '_builtin' => true, /* internal use only. */ 'label_count' => _n_noop('Private (%s)', 'Private (%s)') ) ); register_post_status( 'trash', array( 'label' => _x('Trash', 'post'), 'internal' => true, 'show_in_admin_status_list' => true, - '_builtin' => true, + '_builtin' => true, /* internal use only. */ 'label_count' => _n_noop('Trash (%s)', 'Trash (%s)') ) ); register_post_status( 'auto-draft', array( 'label' => _x('Auto-Draft', 'post'), 'internal' => true, - '_builtin' => true, + '_builtin' => true, /* internal use only. */ 'label_count' => _n_noop('Auto-Draft (%s)', 'Auto-Drafts (%s)') ) ); }