Make WordPress Core

Changeset 47592 for trunk


Ignore:
Timestamp:
04/17/2020 07:55:33 AM (6 years ago)
Author:
SergeyBiryukov
Message:

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

Props francoist, karmatosed, ibdz, estelaris, nrqsnchz, Presskopp.
Fixes #48387.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/dashboard.css

    r47535 r47592  
    729729#dashboard_activity .no-activity {
    730730        overflow: hidden;
    731         padding: 0 0 12px;
     731        padding: 12px 0;
    732732        text-align: center;
    733733}
     
    736736        color: #72777c;
    737737        font-size: 16px;
    738 }
    739 
    740 #dashboard_activity .no-activity .smiley {
    741         margin-top: 0;
    742 }
    743 
    744 #dashboard_activity .no-activity .smiley:before {
    745         content: "\f328";
    746         font: normal 120px/1 dashicons;
    747         speak: none;
    748         display: block;
    749         margin: 0 5px 0 0;
    750         padding: 0;
    751         text-indent: 0;
    752         text-align: center;
    753         position: relative;
    754         -webkit-font-smoothing: antialiased;
    755         text-decoration: none !important;
    756738}
    757739
  • trunk/src/wp-admin/includes/dashboard.php

    r47557 r47592  
    891891        if ( ! $future_posts && ! $recent_posts && ! $recent_comments ) {
    892892                echo '<div class="no-activity">';
    893                 echo '<p class="smiley" aria-hidden="true"></p>';
    894893                echo '<p>' . __( 'No activity yet!' ) . '</p>';
    895894                echo '</div>';
Note: See TracChangeset for help on using the changeset viewer.