Changeset 51394 for branches/5.8/src/wp-includes/script-loader.php
- Timestamp:
- 07/09/2021 05:58:45 PM (4 years ago)
- Location:
- branches/5.8
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/script-loader.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.8
-
branches/5.8/src/wp-includes/script-loader.php
r51392 r51394 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.