Changeset 51390 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 07/09/2021 10:49:15 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r51387 r51390 383 383 ); 384 384 385 // wp-editor module is exposed as window.wp.editor 386 // Problem: there is quite some code expecting window.wp.oldEditor object available under window.wp.editor 387 // Solution: fuse the two objects together to maintain backward compatibility 388 // For more context, see https://github.com/WordPress/gutenberg/issues/33203 385 /* 386 * wp-editor module is exposed as window.wp.editor. 387 * Problem: there is quite some code expecting window.wp.oldEditor object available under window.wp.editor. 388 * Solution: fuse the two objects together to maintain backward compatibility. 389 * For more context, see https://github.com/WordPress/gutenberg/issues/33203. 390 */ 389 391 $scripts->add_inline_script( 390 392 'wp-editor', … … 2270 2272 * 2271 2273 * @since 5.8.0 2272 *2273 * @return void2274 2274 */ 2275 2275 function wp_enqueue_global_styles() {
Note: See TracChangeset
for help on using the changeset viewer.