Changeset 17544
- Timestamp:
- 03/23/2011 06:57:12 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r17410 r17544 1624 1624 1625 1625 if ( !empty($post->post_password) ) 1626 $post_states[ ] = __('Password protected');1626 $post_states['protected'] = __('Password protected'); 1627 1627 if ( 'private' == $post->post_status && 'private' != $post_status ) 1628 $post_states[ ] = __('Private');1628 $post_states['private'] = __('Private'); 1629 1629 if ( 'draft' == $post->post_status && 'draft' != $post_status ) 1630 $post_states[ ] = __('Draft');1630 $post_states['draft'] = __('Draft'); 1631 1631 if ( 'pending' == $post->post_status && 'pending' != $post_status ) 1632 1632 /* translators: post state */ 1633 $post_states[ ] = _x('Pending', 'post state');1633 $post_states['pending'] = _x('Pending', 'post state'); 1634 1634 if ( is_sticky($post->ID) ) 1635 $post_states[ ] = __('Sticky');1635 $post_states['sticky'] = __('Sticky'); 1636 1636 1637 1637 $post_states = apply_filters( 'display_post_states', $post_states );
Note: See TracChangeset
for help on using the changeset viewer.