Changeset 35903
- Timestamp:
- 12/13/2015 07:17:10 PM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/template.php
r35740 r35903 1684 1684 $post_states['draft'] = __('Draft'); 1685 1685 if ( 'pending' == $post->post_status && 'pending' != $post_status ) 1686 /* translators: post state */ 1687 $post_states['pending'] = _x('Pending', 'post state'); 1686 $post_states['pending'] = _x('Pending', 'post status'); 1688 1687 if ( is_sticky($post->ID) ) 1689 1688 $post_states['sticky'] = __('Sticky'); -
trunk/src/wp-includes/post.php
r35868 r35903 111 111 112 112 register_post_status( 'publish', array( 113 'label' => _x( 'Published', 'post ' ),113 'label' => _x( 'Published', 'post status' ), 114 114 'public' => true, 115 115 '_builtin' => true, /* internal use only. */ … … 118 118 119 119 register_post_status( 'future', array( 120 'label' => _x( 'Scheduled', 'post ' ),120 'label' => _x( 'Scheduled', 'post status' ), 121 121 'protected' => true, 122 122 '_builtin' => true, /* internal use only. */ … … 125 125 126 126 register_post_status( 'draft', array( 127 'label' => _x( 'Draft', 'post ' ),127 'label' => _x( 'Draft', 'post status' ), 128 128 'protected' => true, 129 129 '_builtin' => true, /* internal use only. */ … … 132 132 133 133 register_post_status( 'pending', array( 134 'label' => _x( 'Pending', 'post ' ),134 'label' => _x( 'Pending', 'post status' ), 135 135 'protected' => true, 136 136 '_builtin' => true, /* internal use only. */ … … 139 139 140 140 register_post_status( 'private', array( 141 'label' => _x( 'Private', 'post ' ),141 'label' => _x( 'Private', 'post status' ), 142 142 'private' => true, 143 143 '_builtin' => true, /* internal use only. */ … … 146 146 147 147 register_post_status( 'trash', array( 148 'label' => _x( 'Trash', 'post ' ),148 'label' => _x( 'Trash', 'post status' ), 149 149 'internal' => true, 150 150 '_builtin' => true, /* internal use only. */
Note: See TracChangeset
for help on using the changeset viewer.