Ticket #38669: 38669.diff
File 38669.diff, 1.2 KB (added by , 9 years ago) |
---|
-
class-wp-comments-list-table.php
181 181 * @global string $comment_status 182 182 */ 183 183 public function no_items() { 184 global $comment_status;184 global $comment_status; 185 185 186 if ( 'moderated' === $comment_status ) { 187 _e( 'No comments awaiting moderation.' ); 188 } else { 189 _e( 'No comments found.' ); 190 } 191 } 186 if ( 'moderated' === $comment_status ) { 187 _e( 'No comments awaiting moderation.' ); 188 } else { 189 if ( 'trash' === $comment_status ) { 190 _e( 'No comments found in Trash.' ); 191 } else { 192 _e( 'No comments found.' ); } 193 } 194 } 192 195 193 196 /** 194 197 * -
class-wp-media-list-table.php
213 213 * @access public 214 214 */ 215 215 public function no_items() { 216 if ( $this->is_trash ) { 217 _e( 'No media files found in Trash.' ); 218 } else { 216 219 _e( 'No media files found.' ); 220 } 217 221 } 218 222 219 223 /**