Remove some old backwards compatilibity code from TinyMCE.

Props azaozz.



git-svn-id: https://develop.svn.wordpress.org/trunk@32166 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Gary Pendergast 2015-04-20 05:49:16 +00:00
parent 96f12cc588
commit 28de93d269
1 changed files with 0 additions and 6 deletions

View File

@ -117,12 +117,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;
}