diff --git a/src/wp-includes/class-wp-editor.php b/src/wp-includes/class-wp-editor.php index 9c6738907c..b20126f53e 100644 --- a/src/wp-includes/class-wp-editor.php +++ b/src/wp-includes/class-wp-editor.php @@ -839,7 +839,6 @@ final class _WP_Editors { 'Formats' => _x( 'Formats', 'TinyMCE' ), 'Headings' => _x( 'Headings', 'TinyMCE' ), - 'Heading' => _x( 'Heading', 'TinyMCE' ), 'Heading 1' => array( __( 'Heading 1' ), 'access1' ), 'Heading 2' => array( __( 'Heading 2' ), 'access2' ), 'Heading 3' => array( __( 'Heading 3' ), 'access3' ), diff --git a/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js b/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js index 6565221c28..beaddf945f 100644 --- a/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js +++ b/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js @@ -578,12 +578,6 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) { each( listbox.settings.values, function( item ) { if ( item.text && labels.hasOwnProperty( item.text ) ) { item.shortcut = '(' + labels[ item.text ] + ')'; - - // Drop the numbers after the labels for headings. - // TinyMCE makes previews for the h1-h6. It uses the same styles that are applied in the editor body. - if ( item.text.indexOf( 'Heading' ) !== -1 ) { - item.text = 'Heading'; - } } } ); }