WordPress.org

Make WordPress Core

Ticket #40244: 40244.2.patch

File 40244.2.patch, 4.5 KB (added by rcutmore, 2 years ago)

Fix additional inconsistent casing and relocate patch to root directory

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

    diff --git src/wp-admin/includes/class-wp-comments-list-table.php src/wp-admin/includes/class-wp-comments-list-table.php
    index fa41a72..a04fd04 100644
    class WP_Comments_List_Table extends WP_List_Table { 
    324324<?php
    325325                if ( 'top' === $which ) {
    326326?>
    327                         <label class="screen-reader-text" for="filter-by-comment-type"><?php _e( 'Filter by comment type' ); ?></label>
     327                        <label class="screen-reader-text" for="filter-by-comment-type"><?php _e( 'Filter by Comment Type' ); ?></label>
    328328                        <select id="filter-by-comment-type" name="comment_type">
    329                                 <option value=""><?php _e( 'All comment types' ); ?></option>
     329                                <option value=""><?php _e( 'All Comment Types' ); ?></option>
    330330<?php
    331331                                /**
    332332                                 * Filters the comment types dropdown menu.
  • src/wp-admin/includes/class-wp-list-table.php

    diff --git src/wp-admin/includes/class-wp-list-table.php src/wp-admin/includes/class-wp-list-table.php
    index dedfec9..585718f 100644
    class WP_List_Table { 
    583583
    584584                $m = isset( $_GET['m'] ) ? (int) $_GET['m'] : 0;
    585585?>
    586                 <label for="filter-by-date" class="screen-reader-text"><?php _e( 'Filter by date' ); ?></label>
     586                <label for="filter-by-date" class="screen-reader-text"><?php _e( 'Filter by Date' ); ?></label>
    587587                <select name="m" id="filter-by-date">
    588                         <option<?php selected( $m, 0 ); ?> value="0"><?php _e( 'All dates' ); ?></option>
     588                        <option<?php selected( $m, 0 ); ?> value="0"><?php _e( 'All Dates' ); ?></option>
    589589<?php
    590590                foreach ( $months as $arc_row ) {
    591591                        if ( 0 == $arc_row->year )
  • src/wp-admin/includes/class-wp-media-list-table.php

    diff --git src/wp-admin/includes/class-wp-media-list-table.php src/wp-admin/includes/class-wp-media-list-table.php
    index 002c79e..5b77d74 100644
    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 src/wp-admin/includes/class-wp-users-list-table.php src/wp-admin/includes/class-wp-users-list-table.php
    index 4ba5eef..27a6123 100644
    class WP_Users_List_Table extends WP_List_Table { 
    262262        ?>
    263263        <div class="alignleft actions">
    264264                <?php if ( current_user_can( 'promote_users' ) && $this->has_items() ) : ?>
    265                 <label class="screen-reader-text" for="<?php echo $id ?>"><?php _e( 'Change role to&hellip;' ) ?></label>
     265                <label class="screen-reader-text" for="<?php echo $id ?>"><?php _e( 'Change Role to&hellip;' ) ?></label>
    266266                <select name="<?php echo $id ?>" id="<?php echo $id ?>">
    267                         <option value=""><?php _e( 'Change role to&hellip;' ) ?></option>
     267                        <option value=""><?php _e( 'Change Role to&hellip;' ) ?></option>
    268268                        <?php wp_dropdown_roles(); ?>
    269269                </select>
    270270        <?php
  • src/wp-admin/includes/media.php

    diff --git src/wp-admin/includes/media.php src/wp-admin/includes/media.php
    index 4a2e7c2..18b4cde 100644
    $selected_month = isset( $_GET['m'] ) ? $_GET['m'] : 0; 
    24732473
    24742474if ( $month_count && !( 1 == $month_count && 0 == $arc_result[0]->mmonth ) ) { ?>
    24752475<select name='m'>
    2476 <option<?php selected( $selected_month, 0 ); ?> value='0'><?php _e( 'All dates' ); ?></option>
     2476<option<?php selected( $selected_month, 0 ); ?> value='0'><?php _e( 'All Dates' ); ?></option>
    24772477<?php
    24782478foreach ($arc_result as $arc_row) {
    24792479        if ( $arc_row->yyear == 0 )
  • src/wp-includes/media.php

    diff --git src/wp-includes/media.php src/wp-includes/media.php
    index a723929..1654339 100644
    function wp_enqueue_media( $args = array() ) { 
    35083508                'createNewPlaylist'      => __( 'Create a new playlist' ),
    35093509                'createNewVideoPlaylist' => __( 'Create a new video playlist' ),
    35103510                'returnToLibrary'        => __( '&#8592; Return to library' ),
    3511                 'allMediaItems'          => __( 'All media items' ),
    3512                 'allDates'               => __( 'All dates' ),
     3511                'allMediaItems'          => __( 'All Media Items' ),
     3512                'allDates'               => __( 'All Dates' ),
    35133513                'noItemsFound'           => __( 'No items found.' ),
    35143514                'insertIntoPost'         => $post_type_object->labels->insert_into_item,
    35153515                'unattached'             => __( 'Unattached' ),