Make WordPress Core


Ignore:
Timestamp:
10/05/2017 03:12:59 AM (8 years ago)
Author:
westonruter
Message:

Widgets: Remove "Replace Gallery" button from Gallery widget since redundant with "Edit Gallery".

Props Presskopp, juhise, melchoyce.
See #41914.
Fixes #41994.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets/class-wp-widget-media-gallery.php

    r41590 r41772  
    3030        $this->l10n = array_merge( $this->l10n, array(
    3131            'no_media_selected' => __( 'No images selected' ),
    32             'add_media' => _x( 'Select Images', 'label for button in the gallery widget; should not be longer than ~13 characters long' ),
    33             'replace_media' => _x( 'Replace Gallery', 'label for button in the gallery widget; should not be longer than ~13 characters long' ),
     32            'add_media' => _x( 'Add Images', 'label for button in the gallery widget; should not be longer than ~13 characters long' ),
     33            'replace_media' => '',
    3434            'edit_media' => _x( 'Edit Gallery', 'label for button in the gallery widget; should not be longer than ~13 characters long' ),
    3535        ) );
Note: See TracChangeset for help on using the changeset viewer.