Make WordPress Core


Ignore:
Timestamp:
01/31/2014 12:05:17 AM (10 years ago)
Author:
azaozz
Message:

TinyMCE: update to 4.0.14. Remove the fix for using init.setup in old plugins, now fixed upstream. See #24067.

File:
1 edited

Legend:

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

    r27050 r27060  
    445445                $mceInit['toolbar3'] = $mceInit['toolbar4'];
    446446                $mceInit['toolbar4'] = '';
    447             }
    448 
    449             // Fix 3.x callbacks added with init.setup
    450             if ( ! empty( $mceInit['setup'] ) ) {
    451                 $func = $mceInit['setup'];
    452                 $mceInit['setup'] = "function( editor ) { editor.on( 'PreInit', function(){ ($func).call( this, editor ); }); }";
    453447            }
    454448
Note: See TracChangeset for help on using the changeset viewer.