Changeset 47255
- Timestamp:
- 02/11/2020 01:15:31 AM (5 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/dashboard.css
r47222 r47255 822 822 } 823 823 824 #activity-widget #the-comment-list .dashboard-comment-wrap {824 #activity-widget #the-comment-list .dashboard-comment-wrap.has-avatar { 825 825 padding-left: 63px; 826 826 } -
trunk/src/wp-admin/includes/dashboard.php
r47222 r47255 776 776 <li id="comment-<?php echo $comment->comment_ID; ?>" <?php comment_class( array( 'comment-item', wp_get_comment_status( $comment ) ), $comment ); ?>> 777 777 778 <?php echo get_avatar( $comment, 50, 'mystery' ); ?> 778 <?php 779 $comment_row_class = ''; 780 781 if ( get_option( 'show_avatars' ) ) { 782 echo get_avatar( $comment, 50, 'mystery' ); 783 $comment_row_class .= ' has-avatar'; 784 } 785 ?> 779 786 780 787 <?php if ( ! $comment->comment_type || 'comment' == $comment->comment_type ) : ?> 781 788 782 <div class="dashboard-comment-wrap has-row-actions">789 <div class="dashboard-comment-wrap <?php echo $comment_row_class; ?> has-row-actions"> 783 790 <p class="comment-meta"> 784 791 <?php
Note: See TracChangeset
for help on using the changeset viewer.