Ticket #36424: class-wp-list-table.php.patch
File class-wp-list-table.php.patch, 1.1 KB (added by , 9 years ago) |
---|
-
wp-admin/includes/class-wp-list-table.php
686 686 $approved_comments ? __( 'No pending comments' ) : __( 'No comments' ) 687 687 ); 688 688 } 689 // If comments are closed, show a lock then 690 if ( ! comments_open( $post_id ) ) { 691 printf( '<span aria-hidden="true"><span class="dashicons dashicons-lock"></span></span><span class="screen-reader-text">%s</span>', 692 __( 'Comments are closed' ) 693 ); 694 } 695 /* Comments are allowed, show open lock 696 else { 697 printf( '<span aria-hidden="true"><span class="dashicons dashicons-unlock"></span></span><span class="screen-reader-text">%s</span>', 698 __( 'Comments are allowed' ) 699 ); 700 } */ 689 701 } 690 702 691 703 /** … … 1153 1165 } 1154 1166 1155 1167 /** 1156 * Get a list of CSS classes for the WP_List_Table table tag.1168 * Get a list of CSS classes for the list table table tag. 1157 1169 * 1158 1170 * @since 3.1.0 1159 1171 * @access protected