Skip to content

Commit

Permalink
Administration: Remove the smiley from overly happy "No activity yet!…
Browse files Browse the repository at this point in the history
…" 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
  • Loading branch information
SergeyBiryukov committed Apr 17, 2020
1 parent d9c2537 commit 900cfc4
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 42 deletions.
20 changes: 1 addition & 19 deletions wp-admin/css/dashboard-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion wp-admin/css/dashboard-rtl.min.css

Large diffs are not rendered by default.

20 changes: 1 addition & 19 deletions wp-admin/css/dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion wp-admin/css/dashboard.min.css

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion wp-admin/includes/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -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>';
}
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 900cfc4

Please sign in to comment.