From 2f701f7d0e47ce3d6ebe906357315f257e0af6f0 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 16 Sep 2017 11:03:45 +0000 Subject: [PATCH] Media: Rename "Insert Media" window title to "Add Media" for consistency with the "Add Media" button. Props danieltj. Fixes #41704. Built from https://develop.svn.wordpress.org/trunk@41383 git-svn-id: http://core.svn.wordpress.org/trunk@41216 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/js/media-views.js | 2 +- wp-includes/media.php | 2 +- wp-includes/version.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/js/media-views.js b/wp-includes/js/media-views.js index 383891c8e6..b42140166c 100644 --- a/wp-includes/js/media-views.js +++ b/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/wp-includes/media.php b/wp-includes/media.php index 9ec3f61299..dbc9c7dd01 100644 --- a/wp-includes/media.php +++ b/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' ), diff --git a/wp-includes/version.php b/wp-includes/version.php index ce929f326e..4928418909 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-41382'; +$wp_version = '4.9-alpha-41383'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.