Make WordPress Core


Ignore:
Timestamp:
09/26/2023 02:20:18 PM (22 months ago)
Author:
karmatosed
Message:

Update editor related npm packages

The npm packages needed updating for 6.4 to the latest.

Props mikachan, mukesdpanchal27, luisherranz, youknowriad, tellthemachines, gziolo, ockham, michalczaplinski

Fixes #59411

File:
1 edited

Legend:

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

    r55257 r56710  
    4545 */
    4646function block_core_gallery_render( $attributes, $content ) {
    47     $gap = _wp_array_get( $attributes, array( 'style', 'spacing', 'blockGap' ) );
     47    $gap = $attributes['style']['spacing']['blockGap'] ?? null;
    4848    // Skip if gap value contains unsupported characters.
    4949    // Regex for CSS value borrowed from `safecss_filter_attr`, and used here
Note: See TracChangeset for help on using the changeset viewer.