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:
Helen Hou-Sandi 2015-06-22 16:06:45 +00:00
parent ef8ed3e279
commit 3f4a902051

View File

@ -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' );
}