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:
Helen Hou-Sandí
2015-07-07 23:11:24 +00:00
parent 6c90a44828
commit 9c3bc85649
8 changed files with 8 additions and 14 deletions

View File

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