WordPress.org

Make WordPress Core

Changeset 32167


Ignore:
Timestamp:
04/20/2015 05:52:33 AM (6 years ago)
Author:
pento
Message:

Remove some old backwards compatibility code from TinyMCE. Merge of [32166] to the 4.1 branch.

Props azaozz.

File:
1 edited

Legend:

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

    r30892 r32167  
    117117            // A cookie (set when a user resizes the editor) overrides the height.
    118118            $cookie = (int) get_user_setting( 'ed_size' );
    119 
    120             // Upgrade an old TinyMCE cookie if it is still around, and the new one isn't.
    121             if ( ! $cookie && isset( $_COOKIE['TinyMCE_content_size'] ) ) {
    122                 parse_str( $_COOKIE['TinyMCE_content_size'], $cookie );
    123                 $cookie = $cookie['ch'];
    124             }
    125119
    126120            if ( $cookie )
Note: See TracChangeset for help on using the changeset viewer.