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:
parent
6c90a44828
commit
9c3bc85649
|
@ -570,10 +570,6 @@ code {
|
|||
margin: 10px 2px 0 20px;
|
||||
}
|
||||
|
||||
.attention {
|
||||
color: #00a0d2;
|
||||
}
|
||||
|
||||
.wrap h1,
|
||||
.wrap h2,
|
||||
.subtitle {
|
||||
|
@ -2011,6 +2007,7 @@ table .column-rating {
|
|||
text-align: right;
|
||||
}
|
||||
|
||||
.attention,
|
||||
.error-message {
|
||||
color: red;
|
||||
font-weight: 600;
|
||||
|
|
|
@ -570,10 +570,6 @@ code {
|
|||
margin: 10px 20px 0 2px;
|
||||
}
|
||||
|
||||
.attention {
|
||||
color: #00a0d2;
|
||||
}
|
||||
|
||||
.wrap h1,
|
||||
.wrap h2,
|
||||
.subtitle {
|
||||
|
@ -2011,6 +2007,7 @@ table .column-rating {
|
|||
text-align: left;
|
||||
}
|
||||
|
||||
.attention,
|
||||
.error-message {
|
||||
color: red;
|
||||
font-weight: 600;
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -451,7 +451,7 @@ class WP_MS_Themes_List_Table extends WP_List_Table {
|
|||
global $status, $totals;
|
||||
if ( $theme->errors() ) {
|
||||
$pre = $status == 'broken' ? __( 'Broken Theme:' ) . ' ' : '';
|
||||
echo '<p><strong class="attention">' . $pre . $theme->errors()->get_error_message() . '</strong></p>';
|
||||
echo '<p><strong class="error-message">' . $pre . $theme->errors()->get_error_message() . '</strong></p>';
|
||||
}
|
||||
|
||||
if ( $this->is_site_themes ) {
|
||||
|
|
|
@ -473,7 +473,7 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
|||
$description = '<p><strong>' . $dropins[ $plugin_file ][0] . '</strong></p>';
|
||||
} else {
|
||||
$is_active = false;
|
||||
$description = '<p><strong>' . $dropins[ $plugin_file ][0] . ' <span class="attention">' . __('Inactive:') . '</span></strong> ' . sprintf( __( 'Requires <code>%s</code> in <code>wp-config.php</code>.' ), "define('" . $dropins[ $plugin_file ][1] . "', true);" ) . '</p>';
|
||||
$description = '<p><strong>' . $dropins[ $plugin_file ][0] . ' <span class="error-message">' . __('Inactive:') . '</span></strong> ' . sprintf( __( 'Requires <code>%s</code> in <code>wp-config.php</code>.' ), "define('" . $dropins[ $plugin_file ][1] . "', true);" ) . '</p>';
|
||||
}
|
||||
if ( $plugin_data['Description'] )
|
||||
$description .= '<p>' . $plugin_data['Description'] . '</p>';
|
||||
|
|
|
@ -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' );
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.3-beta1-33116';
|
||||
$wp_version = '4.3-beta1-33117';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue