Ensure error messages look like, well, errors.
props obenland, rachelbaker. fixes #32475. Built from https://develop.svn.wordpress.org/trunk@33117 git-svn-id: http://core.svn.wordpress.org/trunk@33088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -824,7 +824,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
_e( 'Published' );
|
||||
} elseif ( 'future' == $post->post_status ) {
|
||||
if ( $time_diff > 0 ) {
|
||||
echo '<strong class="attention">' . __( 'Missed schedule' ) . '</strong>';
|
||||
echo '<strong class="error-message">' . __( 'Missed schedule' ) . '</strong>';
|
||||
} else {
|
||||
_e( 'Scheduled' );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user