External Libraries: Append `.1` to `react`/`react-dom` versions.
Replaces the `-umd` appendage for the `react` and `react-dom` script versions with `.1`. This it to prevent issues with third party code expecting the version number in the form `/^[\d\.]+$/`. Updates the version to tests in `Tests_Dependencies_Scripts::test_vendor_script_versions_registered_manually` to include the modified version used for cache busting. Follow up to [59536], [58775]. Props azaozz, desrosj, peterwilsoncc. Fixes #62422. Built from https://develop.svn.wordpress.org/trunk@59540 git-svn-id: http://core.svn.wordpress.org/trunk@58926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5cb9ffc5ca
commit
447e58166c
|
@ -106,8 +106,8 @@ function wp_default_packages_vendor( $scripts ) {
|
|||
);
|
||||
|
||||
$vendor_scripts_versions = array(
|
||||
'react' => '18.3.1-umd',
|
||||
'react-dom' => '18.3.1-umd',
|
||||
'react' => '18.3.1.1', // Final .1 due to switch to UMD build, can be removed in the next update.
|
||||
'react-dom' => '18.3.1.1', // Final .1 due to switch to UMD build, can be removed in the next update.
|
||||
'react-jsx-runtime' => '18.3.1',
|
||||
'regenerator-runtime' => '0.14.1',
|
||||
'moment' => '2.30.1',
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.8-alpha-59536';
|
||||
$wp_version = '6.8-alpha-59540';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue