Administration: Remove the smiley from overly happy "No activity yet!" message on Dashboard.

Props francoist, karmatosed, ibdz, estelaris, nrqsnchz, Presskopp.
Fixes #48387.
Built from https://develop.svn.wordpress.org/trunk@47592


git-svn-id: http://core.svn.wordpress.org/trunk@47367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-04-17 07:57:10 +00:00
parent d9c2537d87
commit 900cfc4816
6 changed files with 5 additions and 42 deletions

View File

@ -729,7 +729,7 @@ body #dashboard-widgets .postbox form .submit {
#dashboard_activity .no-activity {
overflow: hidden;
padding: 0 0 12px;
padding: 12px 0;
text-align: center;
}
@ -738,24 +738,6 @@ body #dashboard-widgets .postbox form .submit {
font-size: 16px;
}
#dashboard_activity .no-activity .smiley {
margin-top: 0;
}
#dashboard_activity .no-activity .smiley:before {
content: "\f328";
font: normal 120px/1 dashicons;
speak: none;
display: block;
margin: 0 0 0 5px;
padding: 0;
text-indent: 0;
text-align: center;
position: relative;
-webkit-font-smoothing: antialiased;
text-decoration: none !important;
}
#dashboard_activity .subsubsub {
float: none;
border-top: 1px solid #eee;

File diff suppressed because one or more lines are too long

View File

@ -728,7 +728,7 @@ body #dashboard-widgets .postbox form .submit {
#dashboard_activity .no-activity {
overflow: hidden;
padding: 0 0 12px;
padding: 12px 0;
text-align: center;
}
@ -737,24 +737,6 @@ body #dashboard-widgets .postbox form .submit {
font-size: 16px;
}
#dashboard_activity .no-activity .smiley {
margin-top: 0;
}
#dashboard_activity .no-activity .smiley:before {
content: "\f328";
font: normal 120px/1 dashicons;
speak: none;
display: block;
margin: 0 5px 0 0;
padding: 0;
text-indent: 0;
text-align: center;
position: relative;
-webkit-font-smoothing: antialiased;
text-decoration: none !important;
}
#dashboard_activity .subsubsub {
float: none;
border-top: 1px solid #eee;

File diff suppressed because one or more lines are too long

View File

@ -890,7 +890,6 @@ function wp_dashboard_site_activity() {
if ( ! $future_posts && ! $recent_posts && ! $recent_comments ) {
echo '<div class="no-activity">';
echo '<p class="smiley" aria-hidden="true"></p>';
echo '<p>' . __( 'No activity yet!' ) . '</p>';
echo '</div>';
}

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.5-alpha-47591';
$wp_version = '5.5-alpha-47592';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.