diff --git a/wp-includes/class-wp-editor.php b/wp-includes/class-wp-editor.php index 200031bbdc..a46043a5c9 100644 --- a/wp-includes/class-wp-editor.php +++ b/wp-includes/class-wp-editor.php @@ -116,12 +116,6 @@ final class _WP_Editors { // A cookie (set when a user resizes the editor) overrides the height. $cookie = (int) get_user_setting( 'ed_size' ); - // Upgrade an old TinyMCE cookie if it is still around, and the new one isn't. - if ( ! $cookie && isset( $_COOKIE['TinyMCE_content_size'] ) ) { - parse_str( $_COOKIE['TinyMCE_content_size'], $cookie ); - $cookie = $cookie['ch']; - } - if ( $cookie ) $set['editor_height'] = $cookie; }