Make WordPress Core


Ignore:
Timestamp:
07/24/2020 12:19:37 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Administration: Capitalize Trash consistently in various messages.

When used as a noun referring to the "virtual" place, Trash should be capitalized.

Follow-up to [47233], [48352].

See #45317, #40244.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/meta-boxes.php

    r48583 r48594  
    335335                $delete_text = __( 'Delete permanently' );
    336336            } else {
    337                 $delete_text = __( 'Move to trash' );
     337                $delete_text = __( 'Move to Trash' );
    338338            }
    339339            ?>
     
    439439    if ( current_user_can( 'delete_post', $post->ID ) ) {
    440440        if ( EMPTY_TRASH_DAYS && MEDIA_TRASH ) {
    441             echo "<a class='submitdelete deletion' href='" . get_delete_post_link( $post->ID ) . "'>" . __( 'Move to trash' ) . '</a>';
     441            echo "<a class='submitdelete deletion' href='" . get_delete_post_link( $post->ID ) . "'>" . __( 'Move to Trash' ) . '</a>';
    442442        } else {
    443443            $delete_ays = ! MEDIA_TRASH ? " onclick='return showNotice.warn();'" : '';
Note: See TracChangeset for help on using the changeset viewer.