From 8209a24d8559bc314865791463bffa0cb23732f3 Mon Sep 17 00:00:00 2001 From: Helen Hou-Sandi Date: Tue, 7 Jul 2015 15:25:03 +0000 Subject: [PATCH] Show row actions on focus for the dashboard comment list. see #25408. git-svn-id: https://develop.svn.wordpress.org/trunk@33106 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/dashboard.php | 4 ++-- src/wp-admin/js/common.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php index 03929ad8bc..80030bfa70 100644 --- a/src/wp-admin/includes/dashboard.php +++ b/src/wp-admin/includes/dashboard.php @@ -627,7 +627,7 @@ function _wp_dashboard_recent_comments_row( &$comment, $show_date = true ) { comment_type || 'comment' == $comment->comment_type ) : ?> -
+

' . get_comment_author_link() . '', $comment_post_link.' '.$comment_link, ' ' . __( '[Pending]' ) . '' ); ?> @@ -647,7 +647,7 @@ function _wp_dashboard_recent_comments_row( &$comment, $show_date = true ) { } $type = esc_html( $type ); ?> -
+

$type", $comment_post_link." ".$comment_link ); ?>

diff --git a/src/wp-admin/js/common.js b/src/wp-admin/js/common.js index 8ccf218fbc..5b5741c154 100644 --- a/src/wp-admin/js/common.js +++ b/src/wp-admin/js/common.js @@ -485,7 +485,7 @@ $(document).ready( function() { focusedRowActions.removeClass( 'visible' ); }, 30 ); } - }, 'td.has-row-actions' ); + }, '.has-row-actions' ); // Toggle list table rows on small screens $( 'tbody' ).on( 'click', '.toggle-row', function() {