Administration: Make sure row actions for recent comments in Activity dashboard widget stay visible when a single row gets focus.

Follow-up to [49142].

Props sabernhardt, kebbet, hareesh-pillai, pbiron.
Reviewed by ryelle, SergeyBiryukov.
Merges [49725] to the 5.6 branch.
Fixes #51886. See #51516, #49715.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@49727 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-12-01 19:19:14 +00:00
parent 40a6bc1a01
commit 511e6fcb49

View File

@ -1047,7 +1047,7 @@ function wp_dashboard_recent_comments( $total_items = 5 ) {
}
if ( $comments ) {
echo '<div id="latest-comments" class="activity-block">';
echo '<div id="latest-comments" class="activity-block table-view-list">';
echo '<h3>' . __( 'Recent Comments' ) . '</h3>';
echo '<ul id="the-comment-list" data-wp-lists="list:comment">';