Changeset 13260
- Timestamp:
- 02/20/2010 10:35:39 PM (15 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r13257 r13260 72 72 'query_var' => false, 73 73 ) ); 74 74 75 register_post_status( 'publish', array( 'label' => _x('Published', 'post'), 75 76 'public' => true, … … 113 114 '_builtin' => true, 114 115 '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' => true119 ) );120 121 register_post_status( 'menu-page', array( 'internal' => true,122 '_builtin' => true123 ) );124 125 register_post_status( 'menu-custom', array( 'internal' => true,126 '_builtin' => true127 116 ) ); 128 117 } -
trunk/wp-includes/taxonomy.php
r13259 r13260 39 39 ) ) ; 40 40 41 register_taxonomy( 'menu', ' post', array('hierarchical' => false,41 register_taxonomy( 'menu', 'menu_item', array( 'hierarchical' => false, 42 42 'query_var' => false, 43 43 'rewrite' => false,
Note: See TracChangeset
for help on using the changeset viewer.