Ticket #15421: 15421.diff
File 15421.diff, 1.1 KB (added by , 14 years ago) |
---|
-
wp-admin/includes/template.php
1623 1623 $post_status = ''; 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 ); 1638 1638