Changeset 43901 for branches/5.0/src/wp-includes/script-loader.php
- Timestamp:
- 11/15/2018 11:52:47 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-includes/script-loader.php
r43894 r43901 485 485 'after' 486 486 ); 487 488 // TinyMCE init. 487 } 488 489 /** 490 * Adds inline scripts required for the TinyMCE in the block editor. 491 * 492 * @since 5.0.0 493 * 494 * @global WP_Scripts $wp_scripts 495 */ 496 function wp_tinymce_inline_scripts() { 497 global $wp_scripts; 498 489 499 $tinymce_plugins = array( 490 500 'charmap', … … 597 607 }'; 598 608 599 $ scripts->add_inline_script( 'wp-block-library', $script, 'before' );609 $wp_scripts->add_inline_script( 'wp-block-library', $script, 'before' ); 600 610 } 601 611
Note: See TracChangeset
for help on using the changeset viewer.