Add "Scheduled" to post states.
props rclations. fixes #32131. git-svn-id: https://develop.svn.wordpress.org/trunk@32902 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ef8ed3e279
commit
3f4a902051
@ -1723,6 +1723,10 @@ function _post_states($post) {
|
||||
if ( is_sticky($post->ID) )
|
||||
$post_states['sticky'] = __('Sticky');
|
||||
|
||||
if ( 'future' === $post->post_status ) {
|
||||
$post_states['scheduled'] = __( 'Scheduled' );
|
||||
}
|
||||
|
||||
if ( get_option( 'page_on_front' ) == $post->ID ) {
|
||||
$post_states['page_on_front'] = __( 'Front Page' );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user