Make WordPress Core


Ignore:
Timestamp:
10/07/2026 12:09:35 AM (8 hours ago)
Author:
peterwilsoncc
Message:

General: Bump the pinned hash for Gutenberg to 954fe7f9e04.

This updates the pinned commit hash of the Gutenberg repository from 5715a61334c4d29f21b67cf34b46061dc1b62502 to 954fe7f9e04631c41aec4552acd627a7203a2aad (version 24.1.0).

A full list of changes included in this commit can be found on GitHub: ​https://github.com/WordPress/gutenberg/compare/50ad79ef7ebc5f1d2a75def068887e33a15f2634...954fe7f9e04631c41aec4552acd627a7203a2aad.

Developed in ​https://github.com/WordPress/wordpress-develop/pull/14045.

Props wildworks.
Fixes #66254.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/blocks/navigation.php

    r63538 r64223  
    833833                                data-wp-watch="callbacks.focusFirstElement"
    834834                        ';
     835
     836                        // The default overlay displays every submenu it contains; a custom overlay
     837                        // opts out through the `disable-default-overlay` class on this container.
     838                        // Submenus inherit this flag to tell the two apart, derived from the same
     839                        // value as that class so the markup and the styles cannot disagree.
     840                        if ( $has_custom_overlay ) {
     841                                $responsive_container_directives .= ' ' . wp_interactivity_data_wp_context( array( 'hasCustomOverlay' => true ) );
     842                        }
    835843                }
    836844
    … …  
    10491057                unset( $attributes['rgbTextColor'], $attributes['rgbBackgroundColor'] );
    10501058
     1059                // Submenu detection is memoized while a navigation block renders. Reset it so
     1060                // the result of a previously rendered navigation block is not reused for this one.
     1061                static::$has_submenus = false;
     1062
    10511063                $inner_blocks = static::get_inner_blocks( $attributes, $block );
    10521064                // Prevent navigation blocks referencing themselves from rendering.
Note: See TracChangeset for help on using the changeset viewer.