Changeset 14262 for trunk/wp-includes/post.php
- Timestamp:
- 04/27/2010 10:36:46 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r14248 r14262 112 112 ) ); 113 113 114 register_post_status( 'auto-draft', array( 'label' => _x('Auto-Draft', 'post'),114 register_post_status( 'auto-draft', array( 'label' => 'auto-draft', 115 115 'internal' => true, 116 116 '_builtin' => true, /* internal use only. */ 117 'label_count' => _n_noop('Auto-Draft <span class="count">(%s)</span>', 'Auto-Drafts <span class="count">(%s)</span>')118 117 ) ); 119 118 120 register_post_status( 'inherit', array( 'label' => _x('Inherit', 'post'),119 register_post_status( 'inherit', array( 'label' => 'inherit', 121 120 'internal' => true, 122 121 'exclude_from_search' => false, 123 122 '_builtin' => true, /* internal use only. */ 124 'label_count' => _n_noop('Inherit <span class="count">(%s)</span>', 'Inherit <span class="count">(%s)</span>')125 123 ) ); 126 124 } … … 594 592 595 593 if ( false === $args->label_count ) 596 $args->label_count = $args->label;594 $args->label_count = array( $args->label, $args->label ); 597 595 598 596 $wp_post_statuses[$post_status] = $args;
Note: See TracChangeset
for help on using the changeset viewer.