The comment screen hides the author column at narrow screen sizes; this adds back the author info above the comment content. Fixes #26618, props SergeyBiryukov, nacin.
Built from https://develop.svn.wordpress.org/trunk@26961 git-svn-id: http://core.svn.wordpress.org/trunk@26840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -390,6 +390,10 @@ class WP_Comments_List_Table extends WP_List_Table {
|
||||
$delete_url = esc_url( $url . "&action=deletecomment&$del_nonce" );
|
||||
}
|
||||
|
||||
echo '<div class="comment-author">';
|
||||
$this->column_author( $comment );
|
||||
echo '</div>';
|
||||
|
||||
echo '<div class="submitted-on">';
|
||||
/* translators: 2: comment date, 3: comment time */
|
||||
printf( __( 'Submitted on <a href="%1$s">%2$s at %3$s</a>' ), $comment_url,
|
||||
|
||||
Reference in New Issue
Block a user