Changeset 13257 for trunk/wp-includes/post.php
- Timestamp:
- 02/20/2010 09:57:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r13242 r13257 64 64 ) ); 65 65 66 register_post_type( 'menu_item', array( 'public' => false, 67 'show_ui' => false, 68 '_builtin' => true, 69 'capability_type' => 'post', 70 'hierarchical' => false, 71 'rewrite' => false, 72 'query_var' => false, 73 ) ); 66 74 register_post_status( 'publish', array( 'label' => _x('Published', 'post'), 67 75 'public' => true, … … 105 113 '_builtin' => true, 106 114 'label_count' => _n_noop('Auto-Draft <span class="count">(%s)</span>', 'Auto-Drafts <span class="count">(%s)</span>') 115 ) ); 116 117 register_post_status( 'menu-category', array( 'internal' => true, 118 '_builtin' => true 119 ) ); 120 121 register_post_status( 'menu-page', array( 'internal' => true, 122 '_builtin' => true 123 ) ); 124 125 register_post_status( 'menu-custom', array( 'internal' => true, 126 '_builtin' => true 107 127 ) ); 108 128 }
Note: See TracChangeset
for help on using the changeset viewer.