From a59e5363743bb9d77234e4314690c7071507a4f9 Mon Sep 17 00:00:00 2001 From: desrosj Date: Sat, 5 Jan 2019 04:14:44 +0000 Subject: [PATCH] Editor: Use explicit context instead of a trailing space for Edit string in TinyMCE. In [42523], `trunk` was updated to use explicit context instead of a trailing space for the Edit string in TinyMCE plugins. [43472] later backported this change, but the string in `class-wp-editor.php` was missed. This fixes the `Edit` string so not display as `Edit|button` in the 5.0 branch. Props dimadin. See #42543, #44134. Fixes #44919. Built from https://develop.svn.wordpress.org/branches/5.0@44401 git-svn-id: http://core.svn.wordpress.org/branches/5.0@44231 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-editor.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-wp-editor.php b/wp-includes/class-wp-editor.php index 7caf54871a..bb41174f6b 100644 --- a/wp-includes/class-wp-editor.php +++ b/wp-includes/class-wp-editor.php @@ -1259,7 +1259,7 @@ final class _WP_Editors { 'Distraction-free writing mode' => array( __( 'Distraction-free writing mode' ), 'accessW' ), 'No alignment' => __( 'No alignment' ), // Tooltip for the 'alignnone' button in the image toolbar 'Remove' => __( 'Remove' ), // Tooltip for the 'remove' button in the image toolbar - 'Edit ' => __( 'Edit' ), // Tooltip for the 'edit' button in the image toolbar + 'Edit|button' => __( 'Edit' ), // Tooltip for the 'edit' button in the image toolbar 'Paste URL or type to search' => __( 'Paste URL or type to search' ), // Placeholder for the inline link dialog 'Apply' => __( 'Apply' ), // Tooltip for the 'apply' button in the inline link dialog 'Link options' => __( 'Link options' ), // Tooltip for the 'link options' button in the inline link dialog diff --git a/wp-includes/version.php b/wp-includes/version.php index 1c8fa73311..aea66262d6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0.3-alpha-44400'; +$wp_version = '5.0.3-alpha-44401'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.