Changeset 44251
- Timestamp:
- 12/17/2018 12:28:36 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 43901
- Property svn:mergeinfo changed
-
trunk/src/wp-admin/edit-form-blocks.php
r44244 r44251 306 306 ) 307 307 ); 308 wp_tinymce_inline_scripts(); 308 309 wp_enqueue_editor(); 309 310 -
trunk/src/wp-includes/script-loader.php
r44249 r44251 476 476 'after' 477 477 ); 478 479 // TinyMCE init. 478 } 479 480 /** 481 * Adds inline scripts required for the TinyMCE in the block editor. 482 * 483 * @since 5.0.0 484 * 485 * @global WP_Scripts $wp_scripts 486 */ 487 function wp_tinymce_inline_scripts() { 488 global $wp_scripts; 489 480 490 $tinymce_plugins = array( 481 491 'charmap', … … 588 598 }'; 589 599 590 $ scripts->add_inline_script( 'wp-block-library', $script, 'before' );600 $wp_scripts->add_inline_script( 'wp-block-library', $script, 'before' ); 591 601 } 592 602
Note: See TracChangeset
for help on using the changeset viewer.