Changeset 27004
- Timestamp:
- 01/22/2014 06:16:39 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-editor.php
r26982 r27004 797 797 798 798 ( function() { 799 var init, edId, qtId, firstInit, 799 var init, edId, qtId, firstInit, override, 800 800 loadMCE = typeof getUserSetting !== 'undefined' ? getUserSetting( 'editor' ) === 'tinymce' : true; 801 801 … … 814 814 } 815 815 816 if ( ( loadMCE || ! tinyMCEPreInit.qtInit.hasOwnProperty( edId ) ) && ! init.wp_skip_init ) { 816 override = tinymce.DOM.hasClass( tinymce.DOM.select( '#wp-' + edId + '-wrap' )[0], 'tmce-active' ); 817 override = override || ! tinyMCEPreInit.qtInit.hasOwnProperty( edId ); 818 819 if ( ( loadMCE || override ) && ! init.wp_skip_init ) { 817 820 try { tinymce.init( init ); } catch(e){} 818 821 }
Note: See TracChangeset
for help on using the changeset viewer.