From 3f4a902051ace21375bfcb6d81a0e06545cb755c Mon Sep 17 00:00:00 2001 From: Helen Hou-Sandi Date: Mon, 22 Jun 2015 16:06:45 +0000 Subject: [PATCH] Add "Scheduled" to post states. props rclations. fixes #32131. git-svn-id: https://develop.svn.wordpress.org/trunk@32902 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/template.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php index 87e8a512ba..3ee3f1e035 100644 --- a/src/wp-admin/includes/template.php +++ b/src/wp-admin/includes/template.php @@ -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' ); }