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.
Fixes #51886. See #51516, #49715.

git-svn-id: https://develop.svn.wordpress.org/trunk@49725 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-12-01 18:14:37 +00:00
parent b4819255d3
commit b1385b73fe

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">';