Skip to content

Commit

Permalink
Merge branch 'trunk' into fix/59238-nav-interactivity-space
Browse files Browse the repository at this point in the history
  • Loading branch information
juanfra committed Feb 22, 2024
2 parents 75c0ea0 + 5860993 commit c95a2ee
Show file tree
Hide file tree
Showing 240 changed files with 1,245 additions and 600 deletions.
252 changes: 252 additions & 0 deletions changelog.txt

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/reference-guides/data/data-core-block-editor.md
Expand Up @@ -1263,15 +1263,15 @@ Action that hides the insertion point.

### insertAfterBlock

Action that inserts an empty block after a given block.
Action that inserts a default block after a given block.

_Parameters_

- _clientId_ `string`:

### insertBeforeBlock

Action that inserts an empty block before a given block.
Action that inserts a default block before a given block.

_Parameters_

Expand Down
2 changes: 1 addition & 1 deletion gutenberg.php
Expand Up @@ -5,7 +5,7 @@
* Description: Printing since 1440. This is the development plugin for the block editor, site editor, and other future WordPress core functionality.
* Requires at least: 6.3
* Requires PHP: 7.0
* Version: 17.7.0
* Version: 17.8.0-rc.1
* Author: Gutenberg Team
* Text Domain: gutenberg
*
Expand Down
6 changes: 6 additions & 0 deletions lib/class-wp-theme-json-gutenberg.php
Expand Up @@ -3807,12 +3807,18 @@ private static function resolve_custom_css_format( $tree ) {
* Replaces CSS variables with their values in place.
*
* @since 6.3.0
* @since 6.6.0 Check for empty style before processing.
*
* @param array $styles CSS declarations to convert.
* @param array $values key => value pairs to use for replacement.
* @return array
*/
private static function convert_variables_to_value( $styles, $values ) {
foreach ( $styles as $key => $style ) {
if ( empty( $style ) ) {
continue;
}

if ( is_array( $style ) ) {
$styles[ $key ] = self::convert_variables_to_value( $style, $values );
continue;
Expand Down

0 comments on commit c95a2ee

Please sign in to comment.