Changeset 51407 for branches/5.8
- Timestamp:
- 07/12/2021 01:27:44 PM (3 years ago)
- Location:
- branches/5.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.8
-
branches/5.8/src/wp-includes/class-wp-editor.php
r51085 r51407 1664 1664 1665 1665 ( function() { 1666 var initialize = function() { 1666 var initialized = []; 1667 var initialize = function() { 1667 1668 var init, id, inPostbox, $wrap; 1668 1669 var readyState = document.readyState; … … 1673 1674 1674 1675 for ( id in tinyMCEPreInit.mceInit ) { 1676 if ( initialized.indexOf( id ) > -1 ) { 1677 continue; 1678 } 1679 1675 1680 init = tinyMCEPreInit.mceInit[id]; 1676 1681 $wrap = tinymce.$( '#wp-' + id + '-wrap' ); … … 1680 1685 ! init.wp_skip_init && 1681 1686 ( $wrap.hasClass( 'tmce-active' ) || ! tinyMCEPreInit.qtInit.hasOwnProperty( id ) ) && 1682 ( ( inPostbox && readyState === 'complete' )|| ( ! inPostbox && readyState === 'interactive' ) )1687 ( readyState === 'complete' || ( ! inPostbox && readyState === 'interactive' ) ) 1683 1688 ) { 1684 1689 tinymce.init( init ); 1690 initialized.push( id ); 1685 1691 1686 1692 if ( ! window.wpActiveEditor ) {
Note: See TracChangeset
for help on using the changeset viewer.