Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
634aa61
lib/class-wp-duotone-gutenberg.php
aristath May 31, 2023
393ff4a
lib/block-supports/border.php
aristath May 31, 2023
a047545
lib/class-wp-theme-json-resolver-gutenberg.php
aristath May 31, 2023
ce96d3b
lib/class-wp-theme-json-gutenberg.php
aristath May 31, 2023
0bb4d31
lib/block-supports/colors.php
aristath May 31, 2023
d0a4ef0
lib/block-supports/dimensions.php
aristath May 31, 2023
69ee300
bugfix in colors.php
aristath May 31, 2023
73d9f60
fix condition in colors.php
aristath May 31, 2023
a68c19c
lib/block-supports/layout.php
aristath May 31, 2023
3b637e4
lib/block-supports/position.php
aristath May 31, 2023
0e0d2cc
lib/block-supports/settings.php
aristath May 31, 2023
3ab4342
lib/block-supports/spacing.php
aristath May 31, 2023
98ccc2f
lib/block-supports/typography.php
aristath May 31, 2023
2794b0c
Revert "lib/block-supports/settings.php"
aristath May 31, 2023
6a18165
lib/block-supports/settings.php
aristath May 31, 2023
236b6ac
packages/block-library/src/gallery/index.php
aristath May 31, 2023
95949a9
packages/block-library/src/navigation/index.php
aristath May 31, 2023
e0bd282
packages/block-library/src/post-featured-image/index.php
aristath May 31, 2023
2e0cc17
packages/block-library/src/search/index.php
aristath May 31, 2023
d9276fb
packages/style-engine/docs/using-the-style-engine-with-block-supports.md
aristath May 31, 2023
998cb62
further improvements
aristath Jun 23, 2023
b508d1b
typo fix
aristath Jun 23, 2023
f993083
rebase conflict typo fix
aristath Jul 25, 2023
af87ace
Coding standards fix
aristath Jul 25, 2023
bcf4c02
resolve rebase conflicts & refactor
aristath Sep 12, 2023
bd252b4
logic fix
aristath Sep 12, 2023
6634c75
some sugar
aristath Sep 12, 2023
9366fe8
don't use null-coallescing yet (php 7.4+ only)
aristath Sep 12, 2023
5e7dc5a
Revert "don't use null-coallescing yet (php 7.4+ only)"
aristath Sep 12, 2023
a031125
bugfix
aristath Sep 12, 2023
8e31cb9
resolve rebase conflict
aristath Sep 14, 2023
f9ff2b5
readability improvement/simplification
aristath Sep 19, 2023
aa7ec19
missed this one in my previous commit
aristath Sep 19, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
lib/class-wp-theme-json-resolver-gutenberg.php
  • Loading branch information
aristath committed Sep 19, 2023
commit a0475453229782ad19d914f1f38db1ee7ad33069
2 changes: 1 addition & 1 deletion lib/class-wp-theme-json-resolver-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ public static function get_block_data() {

if (
isset( $block_type->supports['spacing']['blockGap']['__experimentalDefault'] ) &&
null === _wp_array_get( $config, array( 'styles', 'blocks', $block_name, 'spacing', 'blockGap' ), null )
! isset( $config['styles']['blocks'][ $block_name ]['spacing']['blockGap'] )
) {
// Ensure an empty placeholder value exists for the block, if it provides a default blockGap value.
// The real blockGap value to be used will be determined when the styles are rendered for output.
Expand Down