Changeset 26982
- Timestamp:
- 01/18/2014 10:19:07 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-editor.php
r26958 r26982 446 446 $mceInit['toolbar3'] = $mceInit['toolbar4']; 447 447 $mceInit['toolbar4'] = ''; 448 } 449 450 // Fix 3.x callbacks added with init.setup 451 if ( ! empty( $mceInit['setup'] ) ) { 452 $func = $mceInit['setup']; 453 $mceInit['setup'] = "function( editor ) { editor.on( 'PreInit', function(){ ($func).call( this, editor ); }); }"; 448 454 } 449 455
Note: See TracChangeset
for help on using the changeset viewer.