Make WordPress Core


Ignore:
Timestamp:
01/05/2019 04:13:20 AM (6 years ago)
Author:
desrosj
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-includes/class-wp-editor.php

    r44400 r44401  
    12601260            'No alignment' => __( 'No alignment' ), // Tooltip for the 'alignnone' button in the image toolbar
    12611261            'Remove' => __( 'Remove' ), // Tooltip for the 'remove' button in the image toolbar
    1262             'Edit ' => __( 'Edit' ), // Tooltip for the 'edit' button in the image toolbar
     1262            'Edit|button' => __( 'Edit' ), // Tooltip for the 'edit' button in the image toolbar
    12631263            'Paste URL or type to search' => __( 'Paste URL or type to search' ), // Placeholder for the inline link dialog
    12641264            'Apply'  => __( 'Apply' ), // Tooltip for the 'apply' button in the inline link dialog
Note: See TracChangeset for help on using the changeset viewer.