WordPress/wp-includes/block-supports
hellofromTonya 98b5022652 Editor: Fix ref values within block style variations.
Fixes an issue where block style variations that use `ref` values to reference styles elsewhere in theme.json weren't working.

Retrieves reference values when generating styles for block style variations. How? When retrieving variation data, to generate styles from, also retrieve any referenced values.

Reviewed by audrasjb.
Merges [58691] to the 6.6 branch.

Props aaronrobertshaw, andrewserong, ramonopoly.
Fixes #61589.
Built from https://develop.svn.wordpress.org/branches/6.6@58699


git-svn-id: http://core.svn.wordpress.org/branches/6.6@58101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-09 16:08:15 +00:00
..
align.php Editor: Simplify usage of block_has_support() function by supporting a string. 2023-08-10 16:48:19 +00:00
background.php Block Themes: Allow setting site-wide background images in theme.json 2024-05-28 06:06:11 +00:00
block-style-variations.php Editor: Fix ref values within block style variations. 2024-07-09 16:08:15 +00:00
border.php Editor: Replace property_exists calls in block related functions with instanceof 2023-09-29 10:20:30 +00:00
colors.php Editor: Replace property_exists calls in block related functions with instanceof 2023-09-29 10:20:30 +00:00
custom-classname.php Editor: Simplify usage of block_has_support() function by supporting a string. 2023-08-10 16:48:19 +00:00
dimensions.php Editor: introduce dimensions.aspectRatio block support. 2024-01-31 02:54:17 +00:00
duotone.php Editor: fix duotone filter for aligned images on classic themes. 2024-06-04 01:48:17 +00:00
elements.php Editor: Fix coding standards and move deprecated function to correct file. 2024-05-03 05:25:12 +00:00
generated-classname.php Editor: Simplify usage of block_has_support() function by supporting a string. 2023-08-10 16:48:19 +00:00
layout.php Editor: Negative margins for alignfull children of blocks with custom padding. 2024-05-30 04:10:09 +00:00
position.php Editor: Reduce the use of the _wp_array_get() function to improve performance. 2023-09-26 13:47:20 +00:00
settings.php Editor: Reduce the use of the _wp_array_get() function to improve performance. 2023-09-26 13:47:20 +00:00
shadow.php Editor: Add __experimentalSkipSerialization support to shadow. 2024-06-03 23:36:14 +00:00
spacing.php Editor: Reduce the use of the _wp_array_get() function to improve performance. 2023-09-26 13:47:20 +00:00
typography.php Coding Standards: Apply changes after running composer format. 2024-06-13 15:06:07 +00:00
utils.php Docs: Miscellaneous docblock corrections and improvements. 2023-08-18 17:29:20 +00:00