Make WordPress Core


Ignore:
Timestamp:
03/08/2016 05:42:45 PM (9 years ago)
Author:
ocean90
Message:

Media: Change wording for media files which aren't attached.

The media library can contain files which aren't attached yet. When attaching a file you currently get "Media attachment reattached.", or the opposite "Media attachment detached.". That's redundant and can be inaccurate. It's also not easy to translate in some languages.

This change generalizes the strings to refer to a "media file" instead.

Props SergeyBiryukov, ocean90, netweb.
Fixes #36089.

File:
1 edited

Legend:

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

    r36569 r36887  
    33633363        'filterByType'           => __( 'Filter by type' ),
    33643364        'searchMediaLabel'       => __( 'Search Media' ),
    3365         'noMedia'                => __( 'No media attachments found.' ),
     3365        'noMedia'                => __( 'No media files found.' ),
    33663366
    33673367        // Library Details
Note: See TracChangeset for help on using the changeset viewer.