Changeset 57981
- Timestamp:
- 04/10/2024 02:40:05 PM (5 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r57713 r57981 90 90 91 91 $vendor_scripts = array( 92 'react' => array( 'wp-polyfill' ),93 'react-dom' 92 'react', 93 'react-dom' => array( 'react' ), 94 94 'regenerator-runtime', 95 95 'moment', … … 104 104 'wp-polyfill-object-fit', 105 105 'wp-polyfill-inert', 106 'wp-polyfill' => array( 'wp-polyfill-inert', 'regenerator-runtime' ),106 'wp-polyfill', 107 107 ); 108 108 -
trunk/tests/phpunit/tests/dependencies/scripts.php
r57492 r57981 2073 2073 $wp_scripts->do_concat = true; 2074 2074 2075 $expected = "<script type='text/javascript' src='/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,wp-polyfill -inert,regenerator-runtime,wp-polyfill,wp-dom-ready,wp-hooks&ver={$wp_version}'></script>\n";2075 $expected = "<script type='text/javascript' src='/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,wp-polyfill,wp-dom-ready,wp-hooks&ver={$wp_version}'></script>\n"; 2076 2076 $expected .= "<script type='text/javascript' id='test-example-js-before'>\nconsole.log(\"before\");\n</script>\n"; 2077 2077 $expected .= "<script type='text/javascript' src='http://example.com' id='test-example-js'></script>\n";
Note: See TracChangeset
for help on using the changeset viewer.