WordPress.org

Make WordPress Core

Ticket #40244: 40244.4.patch

File 40244.4.patch, 4.6 KB (added by lschuyler, 11 months ago)

Refresh

  • src/wp-admin/includes/class-wp-comments-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-comments-list-table.php b/src/wp-admin/includes/class-wp-comments-list-table.php
    index 91ff88ec8d..d5ba87671b 100644
    a b class WP_Comments_List_Table extends WP_List_Table { 
    378378                <?php
    379379                if ( 'top' === $which ) {
    380380                        ?>
    381         <label class="screen-reader-text" for="filter-by-comment-type"><?php _e( 'Filter by comment type' ); ?></label>
     381        <label class="screen-reader-text" for="filter-by-comment-type"><?php _e( 'Filter by Comment Type' ); ?></label>
    382382        <select id="filter-by-comment-type" name="comment_type">
    383                 <option value=""><?php _e( 'All comment types' ); ?></option>
     383                <option value=""><?php _e( 'All Comment Types' ); ?></option>
    384384                        <?php
    385385                                /**
    386386                                 * Filters the comment types dropdown menu.
  • src/wp-admin/includes/class-wp-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-list-table.php b/src/wp-admin/includes/class-wp-list-table.php
    index c423eebbca..e1ad7152fe 100644
    a b class WP_List_Table { 
    593593
    594594                $m = isset( $_GET['m'] ) ? (int) $_GET['m'] : 0;
    595595                ?>
    596                 <label for="filter-by-date" class="screen-reader-text"><?php _e( 'Filter by date' ); ?></label>
     596                <label for="filter-by-date" class="screen-reader-text"><?php _e( 'Filter by Date' ); ?></label>
    597597                <select name="m" id="filter-by-date">
    598                         <option<?php selected( $m, 0 ); ?> value="0"><?php _e( 'All dates' ); ?></option>
     598                        <option<?php selected( $m, 0 ); ?> value="0"><?php _e( 'All Dates' ); ?></option>
    599599                <?php
    600600                foreach ( $months as $arc_row ) {
    601601                        if ( 0 == $arc_row->year ) {
  • src/wp-admin/includes/class-wp-media-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-media-list-table.php b/src/wp-admin/includes/class-wp-media-list-table.php
    index cc8940a6cb..1d86c7c05a 100644
    a b class WP_Media_List_Table extends WP_List_Table { 
    9999                $type_links['all'] = sprintf(
    100100                        '<option value=""%s>%s</option>',
    101101                        selected( $filter, true, false ),
    102                         __( 'All media items' )
     102                        __( 'All Media items' )
    103103                );
    104104
    105105                foreach ( $post_mime_types as $mime_type => $label ) {
  • src/wp-admin/includes/class-wp-users-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-users-list-table.php b/src/wp-admin/includes/class-wp-users-list-table.php
    index 505aa9a435..01a87e75e4 100644
    a b class WP_Users_List_Table extends WP_List_Table { 
    291291                ?>
    292292        <div class="alignleft actions">
    293293                <?php if ( current_user_can( 'promote_users' ) && $this->has_items() ) : ?>
    294                 <label class="screen-reader-text" for="<?php echo $id; ?>"><?php _e( 'Change role to&hellip;' ); ?></label>
     294                <label class="screen-reader-text" for="<?php echo $id; ?>"><?php _e( 'Change Role to&hellip;' ); ?></label>
    295295                <select name="<?php echo $id; ?>" id="<?php echo $id; ?>">
    296                         <option value=""><?php _e( 'Change role to&hellip;' ); ?></option>
     296                        <option value=""><?php _e( 'Change Role to&hellip;' ); ?></option>
    297297                        <?php wp_dropdown_roles(); ?>
    298298                </select>
    299299                        <?php
  • src/wp-admin/includes/media.php

    diff --git a/src/wp-admin/includes/media.php b/src/wp-admin/includes/media.php
    index eba2c8b8db..7786516686 100644
    a b function media_upload_library_form( $errors ) { 
    28042804                if ( $month_count && ! ( 1 == $month_count && 0 == $arc_result[0]->mmonth ) ) {
    28052805                        ?>
    28062806                        <select name='m'>
    2807                         <option<?php selected( $selected_month, 0 ); ?> value='0'><?php _e( 'All dates' ); ?></option>
     2807                        <option<?php selected( $selected_month, 0 ); ?> value='0'><?php _e( 'All Dates' ); ?></option>
    28082808                        <?php
    28092809
    28102810                        foreach ( $arc_result as $arc_row ) {
  • src/wp-includes/media.php

    diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php
    index fb5db5bb03..7d52bc6035 100644
    a b function wp_enqueue_media( $args = array() ) { 
    38973897                'createNewPlaylist'           => __( 'Create a new playlist' ),
    38983898                'createNewVideoPlaylist'      => __( 'Create a new video playlist' ),
    38993899                'returnToLibrary'             => __( '&#8592; Return to library' ),
    3900                 'allMediaItems'               => __( 'All media items' ),
    3901                 'allDates'                    => __( 'All dates' ),
     3900                'allMediaItems'               => __( 'All Media Items' ),
     3901                'allDates'                    => __( 'All Dates' ),
    39023902                'noItemsFound'                => __( 'No items found.' ),
    39033903                'insertIntoPost'              => $post_type_object->labels->insert_into_item,
    39043904                'unattached'                  => __( 'Unattached' ),