Media: Add batch insertion workflow. see #21390.

git-svn-id: https://develop.svn.wordpress.org/trunk@22480 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daryl Koopersmith
2012-11-09 01:44:02 +00:00
parent c4556dce6b
commit b9a5374e64
3 changed files with 143 additions and 33 deletions

View File

@@ -338,7 +338,6 @@ function wp_default_scripts( &$scripts ) {
'mediaLibraryTitle' => __( 'Media Library' ),
'createNewGallery' => __( 'Create a new gallery' ),
'insertIntoPost' => __( 'Insert into post' ),
'addToGallery' => __( 'Add to gallery' ),
// Embed
'embedFromUrlTitle' => __( 'Embed From URL' ),
@@ -346,6 +345,8 @@ function wp_default_scripts( &$scripts ) {
// Batch
'batchInsert' => __( 'Batch insert' ),
'cancelBatchTitle' => __( '← Cancel Batch' ),
'editBatchTitle' => __( 'Edit Batch' ),
'addToBatch' => __( 'Add to batch' ),
// Gallery
'createGalleryTitle' => __( 'Create Gallery' ),
@@ -354,6 +355,7 @@ function wp_default_scripts( &$scripts ) {
'insertGallery' => __( 'Insert gallery' ),
'updateGallery' => __( 'Update gallery' ),
'continueEditing' => __( 'Continue editing' ),
'addToGallery' => __( 'Add to gallery' ),
) );
$scripts->add( 'shortcode', "/wp-includes/js/shortcode$suffix.js", array( 'underscore' ), false, 1 );