Accessibility: Hide the "No activity yet" smiley from assistive technologies.

Fixes #37511.

Built from https://develop.svn.wordpress.org/trunk@38448


git-svn-id: http://core.svn.wordpress.org/trunk@38389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrea Fercia 2016-08-30 16:14:30 +00:00
parent 4753f6e127
commit 99be6ffd3c
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.7-alpha-38447';
$wp_version = '4.7-alpha-38448';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.