Make WordPress Core

Changeset 62382 for branches/7.0


Ignore:
Timestamp:
05/19/2026 02:29:35 PM (3 months ago)
Author:
ellatrix
Message:

Editor: Bump pinned hash for the Gutenberg repository.
This updates the pinned hash from the gutenberg from 3a4e8d1418d25da83b70158bcaabf65580690b6b to a2a354cf35e5b69c3330d6c1cfd42d8dc2efb9fd.

The following changes are included:

A full list of changes can be found on GitHub: https://github.com/WordPress/gutenberg/compare/3a4e8d1418d25da83b70158bcaabf65580690b6b…a2a354cf35e5b69c3330d6c1cfd42d8dc2efb9fd.

Log created with:

git log --reverse --format="- %s" 3a4e8d1418d25da83b70158bcaabf65580690b6b..a2a354cf35e5b69c3330d6c1cfd42d8dc2efb9fd | sed 's|#\([0-9][0-9]*\)|https://github.com/WordPress/gutenberg/pull/\1|g; /github\.com\/WordPress\/gutenberg\/pull/!d' | pbcopy

Reviewed by audrasjb.
Merges [62380] to the 7.0 branch.
Fixes #64595.

Location:
branches/7.0
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/7.0

  • branches/7.0/package.json

    r62373 r62382  
    88        },
    99        "gutenberg": {
    10                 "sha": "3a4e8d1418d25da83b70158bcaabf65580690b6b",
     10                "sha": "a2a354cf35e5b69c3330d6c1cfd42d8dc2efb9fd",
    1111                "ghcrRepo": "WordPress/gutenberg/gutenberg-wp-develop-build"
    1212        },
  • branches/7.0/src/wp-includes/assets/script-loader-packages.php

    r62360 r62382  
    267267                        'wp-warning'
    268268                ),
    269                 'version' => '515bcc5a2962232ccea7'
     269                'version' => '89931f90e4df5eb5f8a3'
    270270        ),
    271271        'customize-widgets.js' => array(
     
    382382                        )
    383383                ),
    384                 'version' => '1975171eba5481ff37cd'
     384                'version' => '28ef50b859708963e197'
    385385        ),
    386386        'edit-site.js' => array(
     
    520520                        )
    521521                ),
    522                 'version' => '77209b33a51951b61574'
     522                'version' => '37faadbdf6c40cb0c71c'
    523523        ),
    524524        'element.js' => array(
  • branches/7.0/src/wp-includes/assets/script-modules-packages.php

    r62360 r62382  
    212212                       
    213213                ),
    214                 'version' => '4d2a3a72c7410d548881'
     214                'version' => 'efaa5193bbad9c60ffd1'
    215215        ),
    216216        'interactivity-router/full-page.js' => array(
  • branches/7.0/src/wp-includes/build/pages/font-library/page-wp-admin.php

    r62136 r62382  
    154154                wp_register_script( 'font-library-wp-admin-prerequisites', '', $asset['dependencies'], $asset['version'], true );
    155155
    156                 // Add inline script to initialize the app using initSinglePage (no menuItems)
     156                /*
     157                 * Add inline script to initialize the app using initSinglePage (no menuItems).
     158                 * The dynamic import is deferred until DOMContentLoaded so that all classic
     159                 * script dependencies of @wordpress/boot (wp-private-apis, wp-components,
     160                 * wp-theme, etc.) have finished parsing and executing before the boot module
     161                 * evaluates. Otherwise, a modulepreloaded @wordpress/boot can win the race
     162                 * against the classic-script-printing pass on fast CDN-fronted hosts in
     163                 * Chrome, evaluating before wp.theme.privateApis is defined and throwing
     164                 * "Cannot unlock an undefined object". See <https://core.trac.wordpress.org/ticket/65103>.
     165                 */
     166                $init_js_function = <<<'JS'
     167                ( mountId, routes ) => {
     168                        const run = async () => {
     169                                const mod = await import( "@wordpress/boot" );
     170                                mod.initSinglePage( { mountId, routes } );
     171                        };
     172                        if ( document.readyState === "loading" ) {
     173                                document.addEventListener( "DOMContentLoaded", run );
     174                        } else {
     175                                run();
     176                        }
     177                }
     178                JS;
    157179                wp_add_inline_script(
    158180                        'font-library-wp-admin-prerequisites',
    159181                        sprintf(
    160                                 'import("@wordpress/boot").then(mod => mod.initSinglePage({mountId: "%s", routes: %s}));',
    161                                 'font-library-wp-admin-app',
     182                                '( %s )( %s, %s );',
     183                                $init_js_function,
     184                                wp_json_encode( 'font-library-wp-admin-app', JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ),
    162185                                wp_json_encode( $routes, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES )
    163186                        )
  • branches/7.0/src/wp-includes/build/pages/options-connectors/page-wp-admin.php

    r62136 r62382  
    154154                wp_register_script( 'options-connectors-wp-admin-prerequisites', '', $asset['dependencies'], $asset['version'], true );
    155155
    156                 // Add inline script to initialize the app using initSinglePage (no menuItems)
     156                /*
     157                 * Add inline script to initialize the app using initSinglePage (no menuItems).
     158                 * The dynamic import is deferred until DOMContentLoaded so that all classic
     159                 * script dependencies of @wordpress/boot (wp-private-apis, wp-components,
     160                 * wp-theme, etc.) have finished parsing and executing before the boot module
     161                 * evaluates. Otherwise, a modulepreloaded @wordpress/boot can win the race
     162                 * against the classic-script-printing pass on fast CDN-fronted hosts in
     163                 * Chrome, evaluating before wp.theme.privateApis is defined and throwing
     164                 * "Cannot unlock an undefined object". See <https://core.trac.wordpress.org/ticket/65103>.
     165                 */
     166                $init_js_function = <<<'JS'
     167                ( mountId, routes ) => {
     168                        const run = async () => {
     169                                const mod = await import( "@wordpress/boot" );
     170                                mod.initSinglePage( { mountId, routes } );
     171                        };
     172                        if ( document.readyState === "loading" ) {
     173                                document.addEventListener( "DOMContentLoaded", run );
     174                        } else {
     175                                run();
     176                        }
     177                }
     178                JS;
    157179                wp_add_inline_script(
    158180                        'options-connectors-wp-admin-prerequisites',
    159181                        sprintf(
    160                                 'import("@wordpress/boot").then(mod => mod.initSinglePage({mountId: "%s", routes: %s}));',
    161                                 'options-connectors-wp-admin-app',
     182                                '( %s )( %s, %s );',
     183                                $init_js_function,
     184                                wp_json_encode( 'options-connectors-wp-admin-app', JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ),
    162185                                wp_json_encode( $routes, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES )
    163186                        )
Note: See TracChangeset for help on using the changeset viewer.