Make WordPress Core


Ignore:
Timestamp:
10/10/2012 08:31:12 AM (13 years ago)
Author:
koopersmith
Message:

Gallery editing in the media modal.

The edit button on gallery MCE views will open a new instance of the media modal. Images can be removed, uploaded, and reordered. However, the "Add images from media library" button is not yet functional.

see #21390, #21809, #21815.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/script-loader.php

    r22129 r22155  
    331331        'returnToLibrary'       => __( 'Return to media library' ),
    332332        'insertGalleryIntoPost' => __( 'Insert gallery into post' ),
     333        'updateGallery'         => __( 'Update gallery' ),
    333334        'addImagesFromLibrary'  => __( 'Add images from media library' ),
    334335    ) );
     
    338339    did_action( 'init' ) && $scripts->localize( 'mce-view', '_wpMceViewL10n', array(
    339340        'contentWidth' => isset( $GLOBALS['content_width'] ) ? $GLOBALS['content_width'] : 800,
     341        'editGallery'  => __( 'Edit Gallery' ),
    340342    ) );
    341343
Note: See TracChangeset for help on using the changeset viewer.