Make WordPress Core


Ignore:
Timestamp:
11/09/2012 04:35:38 AM (12 years ago)
Author:
koopersmith
Message:

Media: Rename the "Beta Media" button to "Add Media". fixes #19956, see #21390.

File:
1 edited

Legend:

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

    r22444 r22485  
    393393    $img = '<span class="wp-media-buttons-icon"></span>';
    394394
    395     echo '<a href="#" class="button insert-media add_media" data-editor="' . esc_attr( $editor_id ) . '" title="' . esc_attr__( 'Add Media' ) . '">' . $img . ' Beta Media</a>';
     395    echo '<a href="#" class="button insert-media add_media" data-editor="' . esc_attr( $editor_id ) . '" title="' . esc_attr__( 'Add Media' ) . '">' . $img . ' Add Media</a>';
    396396
    397397    echo '<a href="' . esc_url( get_upload_iframe_src() ) . '" class="thickbox add_media" id="' . esc_attr( $editor_id ) . '-add_media" title="' . esc_attr__( 'Add Media' ) . '" onclick="return false;">' . sprintf( $context, $img ) . '</a>';
Note: See TracChangeset for help on using the changeset viewer.