Skip to content
Permalink
Browse files

Editor: Use explicit context instead of a trailing space for Edit str…

…ing 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.

git-svn-id: https://develop.svn.wordpress.org/branches/5.0@44401 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
desrosj committed Jan 5, 2019
1 parent c3d5123 commit 239d1d1556d84686fe526a88887c79f3533045dc
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/wp-includes/class-wp-editor.php
@@ -1259,7 +1259,7 @@ private static function get_translation() {
'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

0 comments on commit 239d1d1

Please sign in to comment.
You can’t perform that action at this time.