From ab24be4c873e0a0fa8021310cbd4d20f0a2ba15c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 16 Sep 2017 11:02:17 +0000 Subject: [PATCH] Media: Rename "Insert Media" window title to "Add Media" for consistency with the "Add Media" button. Props danieltj. Fixes #41704. git-svn-id: https://develop.svn.wordpress.org/trunk@41383 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/js/media-views.js | 2 +- src/wp-includes/js/media/utils/selection-sync.js | 2 +- src/wp-includes/media.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/js/media-views.js b/src/wp-includes/js/media-views.js index 383891c8e6..b42140166c 100644 --- a/src/wp-includes/js/media-views.js +++ b/src/wp-includes/js/media-views.js @@ -2149,7 +2149,7 @@ module.exports = State; * * Sync an attachments selection in a state with another state. * - * Allows for selecting multiple images in the Insert Media workflow, and then + * Allows for selecting multiple images in the Add Media workflow, and then * switching to the Insert Gallery workflow while preserving the attachments selection. * * @memberOf wp.media diff --git a/src/wp-includes/js/media/utils/selection-sync.js b/src/wp-includes/js/media/utils/selection-sync.js index f4b5c33527..fd2a872e1d 100644 --- a/src/wp-includes/js/media/utils/selection-sync.js +++ b/src/wp-includes/js/media/utils/selection-sync.js @@ -3,7 +3,7 @@ * * Sync an attachments selection in a state with another state. * - * Allows for selecting multiple images in the Insert Media workflow, and then + * Allows for selecting multiple images in the Add Media workflow, and then * switching to the Insert Gallery workflow while preserving the attachments selection. * * @memberOf wp.media diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php index 9ec3f61299..dbc9c7dd01 100644 --- a/src/wp-includes/media.php +++ b/src/wp-includes/media.php @@ -3510,7 +3510,7 @@ function wp_enqueue_media( $args = array() ) { // Library 'mediaLibraryTitle' => __( 'Media Library' ), - 'insertMediaTitle' => __( 'Insert Media' ), + 'insertMediaTitle' => __( 'Add Media' ), 'createNewGallery' => __( 'Create a new gallery' ), 'createNewPlaylist' => __( 'Create a new playlist' ), 'createNewVideoPlaylist' => __( 'Create a new video playlist' ),