Changeset 56179 for trunk/src/wp-includes/class-wp-theme-json-resolver.php
- Timestamp:
- 07/09/2023 09:38:35 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json-resolver.php
r56157 r56179 359 359 null === _wp_array_get( $config, array( 'styles', 'blocks', $block_name, 'spacing', 'blockGap' ), null ) 360 360 ) { 361 // Ensure an empty placeholder value exists for the block, if it provides a default blockGap value. 362 // The real blockGap value to be used will be determined when the styles are rendered for output. 361 /* 362 * Ensure an empty placeholder value exists for the block, if it provides a default blockGap value. 363 * The real blockGap value to be used will be determined when the styles are rendered for output. 364 */ 363 365 $config['styles']['blocks'][ $block_name ]['spacing']['blockGap'] = null; 364 366 } … … 513 515 } 514 516 515 // Very important to verify that the flag isGlobalStylesUserThemeJSON is true. 516 // If it's not true then the content was not escaped and is not safe. 517 /* 518 * Very important to verify that the flag isGlobalStylesUserThemeJSON is true. 519 * If it's not true then the content was not escaped and is not safe. 520 */ 517 521 if ( 518 522 is_array( $decoded_data ) &&
Note: See TracChangeset
for help on using the changeset viewer.