Make WordPress Core


Ignore:
Timestamp:
04/08/2019 11:53:02 PM (6 years ago)
Author:
pento
Message:

Media: Update the media bulk action labels for consistency.

Props ianbelanger, garrett-eclipse, afercia, Presskopp.
Fixes #44675.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media-template.php

    r45038 r45147  
    481481                    <?php if ( MEDIA_TRASH ) : ?>
    482482                        <# if ( 'trash' === data.status ) { #>
    483                             <button type="button" class="button-link untrash-attachment"><?php _e( 'Untrash' ); ?></button>
     483                            <button type="button" class="button-link untrash-attachment"><?php _e( 'Restore from Trash' ); ?></button>
    484484                        <# } else { #>
    485                             <button type="button" class="button-link trash-attachment"><?php _ex( 'Trash', 'verb' ); ?></button>
     485                            <button type="button" class="button-link trash-attachment"><?php _e( 'Move to Trash' ); ?></button>
    486486                        <# } #>
    487487                    <?php else : ?>
     
    592592                    <?php if ( MEDIA_TRASH ) : ?>
    593593                    <# if ( 'trash' === data.status ) { #>
    594                         <button type="button" class="button-link untrash-attachment"><?php _e( 'Untrash' ); ?></button>
     594                        <button type="button" class="button-link untrash-attachment"><?php _e( 'Restore from Trash' ); ?></button>
    595595                    <# } else { #>
    596                         <button type="button" class="button-link trash-attachment"><?php _ex( 'Trash', 'verb' ); ?></button>
     596                        <button type="button" class="button-link trash-attachment"><?php _ex( 'Move to Trash', 'verb' ); ?></button>
    597597                    <# } #>
    598598                    <?php else : ?>
Note: See TracChangeset for help on using the changeset viewer.