Changeset 48741
- Timestamp:
- 08/05/2020 01:52:01 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-comments-list-table.php
r48724 r48741 490 490 'admin_comment_types_dropdown', 491 491 array( 492 'comment' => esc_html__( 'Comments' ),493 'pings' => esc_html__( 'Pings' ),492 'comment' => __( 'Comments' ), 493 'pings' => __( 'Pings' ), 494 494 ) 495 495 ); 496 496 497 497 if ( $comment_types && is_array( $comment_types ) ) { 498 printf( '<label class="screen-reader-text" for="filter-by-comment-type">%s</label>', esc_html__( 'Filter by comment type' ) );498 printf( '<label class="screen-reader-text" for="filter-by-comment-type">%s</label>', __( 'Filter by comment type' ) ); 499 499 500 500 echo '<select id="filter-by-comment-type" name="comment_type">'; 501 501 502 printf( "\t<option value=''>%s</option>", esc_html__( 'All comment types' ) );502 printf( "\t<option value=''>%s</option>", __( 'All comment types' ) ); 503 503 504 504 foreach ( $comment_types as $type => $label ) {
Note: See TracChangeset
for help on using the changeset viewer.