Changeset 14034 for trunk/wp-includes/post.php
- Timestamp:
- 04/08/2010 01:04:22 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r14014 r14034 20 20 'public' => true, 21 21 'show_ui' => false, 22 '_builtin' => true, 23 '_edit_link' => 'post.php?post=%d', 22 '_builtin' => true, /* internal use only. don't use this when registering your own post type. */ 23 '_edit_link' => 'post.php?post=%d', /* internal use only. don't use this when registering your own post type. */ 24 24 'capability_type' => 'post', 25 25 'hierarchical' => false, … … 33 33 'public' => true, 34 34 'show_ui' => false, 35 '_builtin' => true, 36 '_edit_link' => 'post.php?post=%d', 35 '_builtin' => true, /* internal use only. don't use this when registering your own post type. */ 36 '_edit_link' => 'post.php?post=%d', /* internal use only. don't use this when registering your own post type. */ 37 37 'capability_type' => 'page', 38 38 'hierarchical' => true, … … 45 45 'public' => true, 46 46 'show_ui' => false, 47 '_builtin' => true, 48 '_edit_link' => 'media.php?attachment_id=%d', 47 '_builtin' => true, /* internal use only. don't use this when registering your own post type. */ 48 '_edit_link' => 'media.php?attachment_id=%d', /* internal use only. don't use this when registering your own post type. */ 49 49 'capability_type' => 'post', 50 50 'hierarchical' => false, … … 56 56 'singular_label' => __('Revision'), 57 57 'public' => false, 58 '_builtin' => true, 59 '_edit_link' => 'revision.php?revision=%d', 58 '_builtin' => true, /* internal use only. don't use this when registering your own post type. */ 59 '_edit_link' => 'revision.php?revision=%d', /* internal use only. don't use this when registering your own post type. */ 60 60 'capability_type' => 'post', 61 61 'hierarchical' => false, … … 68 68 'public' => false, 69 69 'show_ui' => false, 70 '_builtin' => true, 70 '_builtin' => true, /* internal use only. don't use this when registering your own post type. */ 71 71 'capability_type' => 'post', 72 72 'hierarchical' => false, … … 77 77 register_post_status( 'publish', array( 'label' => _x('Published', 'post'), 78 78 'public' => true, 79 '_builtin' => true, 79 '_builtin' => true, /* internal use only. */ 80 80 'label_count' => _n_noop('Published <span class="count">(%s)</span>', 'Published <span class="count">(%s)</span>') 81 81 ) ); … … 83 83 register_post_status( 'future', array( 'label' => _x('Scheduled', 'post'), 84 84 'protected' => true, 85 '_builtin' => true, 85 '_builtin' => true, /* internal use only. */ 86 86 'label_count' => _n_noop('Scheduled <span class="count">(%s)</span>', 'Scheduled <span class="count">(%s)</span>') 87 87 ) ); … … 89 89 register_post_status( 'draft', array( 'label' => _x('Draft', 'post'), 90 90 'protected' => true, 91 '_builtin' => true, 91 '_builtin' => true, /* internal use only. */ 92 92 'label_count' => _n_noop('Draft <span class="count">(%s)</span>', 'Drafts <span class="count">(%s)</span>') 93 93 ) ); … … 95 95 register_post_status( 'pending', array( 'label' => _x('Pending', 'post'), 96 96 'protected' => true, 97 '_builtin' => true, 97 '_builtin' => true, /* internal use only. */ 98 98 'label_count' => _n_noop('Pending <span class="count">(%s)</span>', 'Pending <span class="count">(%s)</span>') 99 99 ) ); … … 101 101 register_post_status( 'private', array( 'label' => _x('Private', 'post'), 102 102 'private' => true, 103 '_builtin' => true, 103 '_builtin' => true, /* internal use only. */ 104 104 'label_count' => _n_noop('Private <span class="count">(%s)</span>', 'Private <span class="count">(%s)</span>') 105 105 ) ); … … 108 108 'internal' => true, 109 109 'show_in_admin_status_list' => true, 110 '_builtin' => true, 110 '_builtin' => true, /* internal use only. */ 111 111 'label_count' => _n_noop('Trash <span class="count">(%s)</span>', 'Trash <span class="count">(%s)</span>') 112 112 ) ); … … 114 114 register_post_status( 'auto-draft', array( 'label' => _x('Auto-Draft', 'post'), 115 115 'internal' => true, 116 '_builtin' => true, 116 '_builtin' => true, /* internal use only. */ 117 117 'label_count' => _n_noop('Auto-Draft <span class="count">(%s)</span>', 'Auto-Drafts <span class="count">(%s)</span>') 118 118 ) );
Note: See TracChangeset
for help on using the changeset viewer.