Changeset 41772
- Timestamp:
- 10/05/2017 03:12:59 AM (7 years ago)
- Location:
- trunk/src/wp-includes/widgets
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets/class-wp-widget-media-gallery.php
r41590 r41772 30 30 $this->l10n = array_merge( $this->l10n, array( 31 31 'no_media_selected' => __( 'No images selected' ), 32 'add_media' => _x( ' SelectImages', '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' => '', 34 34 'edit_media' => _x( 'Edit Gallery', 'label for button in the gallery widget; should not be longer than ~13 characters long' ), 35 35 ) ); -
trunk/src/wp-includes/widgets/class-wp-widget-media.php
r41640 r41772 404 404 <?php echo esc_html( $this->l10n['edit_media'] ); ?> 405 405 </button> 406 <?php if ( ! empty( $this->l10n['replace_media'] ) ) : ?> 406 407 <button type="button" class="button change-media select-media selected"> 407 408 <?php echo esc_html( $this->l10n['replace_media'] ); ?> 408 409 </button> 410 <?php endif; ?> 409 411 <button type="button" class="button select-media not-selected"> 410 412 <?php echo esc_html( $this->l10n['add_media'] ); ?>
Note: See TracChangeset
for help on using the changeset viewer.