Changeset 56710 for trunk/src/wp-includes/blocks/gallery.php
- Timestamp:
- 09/26/2023 02:20:18 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/gallery.php
r55257 r56710 45 45 */ 46 46 function block_core_gallery_render( $attributes, $content ) { 47 $gap = _wp_array_get( $attributes, array( 'style', 'spacing', 'blockGap' ) );47 $gap = $attributes['style']['spacing']['blockGap'] ?? null; 48 48 // Skip if gap value contains unsupported characters. 49 49 // Regex for CSS value borrowed from `safecss_filter_attr`, and used here
Note: See TracChangeset
for help on using the changeset viewer.