diff --git a/src/wp-admin/css/dashboard.css b/src/wp-admin/css/dashboard.css index 92d8b2057c..def7c4516f 100644 --- a/src/wp-admin/css/dashboard.css +++ b/src/wp-admin/css/dashboard.css @@ -270,7 +270,7 @@ /* Right Now specific Icons styles */ #dashboard_right_now li a:before, -#dashboard_right_now li span:before { +#dashboard_right_now li > span:before { /* get only the first level span to exclude screen-reader-text in mu-storage */ content: "\f159"; /* generic icon for items added by CPTs ? */ padding: 0 5px 0 0; } diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php index 505862bfd6..b7b1f9ad2c 100644 --- a/src/wp-admin/includes/dashboard.php +++ b/src/wp-admin/includes/dashboard.php @@ -259,14 +259,17 @@ function wp_dashboard_right_now() { ?>
' . $the_content . '
'; @@ -597,20 +603,20 @@ function _wp_dashboard_recent_comments_row( &$comment, $show_date = true ) { $trash_url = esc_url( "comment.php?action=trashcomment&p=$comment->comment_post_ID&c=$comment->comment_ID&$del_nonce" ); $delete_url = esc_url( "comment.php?action=deletecomment&p=$comment->comment_post_ID&c=$comment->comment_ID&$del_nonce" ); - $actions['approve'] = "" . __( 'Approve' ) . ''; - $actions['unapprove'] = "" . __( 'Unapprove' ) . ''; - $actions['edit'] = "". __('Edit') . ''; - $actions['reply'] = ' '; - $actions['spam'] = "" . /* translators: mark as spam link */ _x( 'Spam', 'verb' ) . ''; + $actions['approve'] = "" . __( 'Approve' ) . ''; + $actions['unapprove'] = "" . __( 'Unapprove' ) . ''; + $actions['edit'] = "". __( 'Edit' ) . ''; + $actions['reply'] = ' '; + $actions['spam'] = "" . /* translators: mark as spam link */ _x( 'Spam', 'verb' ) . ''; if ( ! EMPTY_TRASH_DAYS ) { - $actions['delete'] = "" . __('Delete Permanently') . ''; + $actions['delete'] = "" . __( 'Delete Permanently' ) . ''; } else { - $actions['trash'] = "" . _x('Trash', 'verb') . ''; + $actions['trash'] = "" . _x( 'Trash', 'verb' ) . ''; } if ( '1' === $comment->comment_approved ) { - $actions['view'] = '' . __( 'View' ) . ''; + $actions['view'] = '' . __( 'View' ) . ''; } /** @@ -801,9 +807,17 @@ function wp_dashboard_recent_posts( $args ) { // Use the post edit link for those who can edit, the permalink otherwise. $recent_post_link = current_user_can( 'edit_post', get_the_ID() ) ? get_edit_post_link() : get_permalink(); - /* translators: 1: relative date, 2: time, 3: post edit link or permalink, 4: post title */ - $format = __( '%1$s, %2$s %4$s' ); - printf( "' . sprintf( __( 'Update %2$s or learn how to browse happy' ), esc_attr( $response['update_url'] ), esc_html( $response['name'] ), esc_url( $browsehappy ) ) . '
'; - $notice .= ' '; + $notice .= ' '; $notice .= ''; } diff --git a/src/wp-admin/index.php b/src/wp-admin/index.php index abf1ac51ad..6a33d5417a 100644 --- a/src/wp-admin/index.php +++ b/src/wp-admin/index.php @@ -106,7 +106,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );