wordpress-develop/src/wp-includes/block-supports
Jonny Harris dbbc9bcf98 Editor: Move variables to where used in wp_render_layout_support_flag.
Improves the performance of wp_render_layout_support_flag() function by moving variables to where each is used.
If a return happens before the variable is needed, this change avoids unnecessary processing and memory.

Props spacedmonkey, hellofromTonya, mukesh27.
Fixes #57815.

git-svn-id: https://develop.svn.wordpress.org/trunk@55541 602fd350-edb4-49c9-b593-d223f7449a82
2023-03-13 16:30:09 +00:00
..
align.php Docs: Miscellaneous Docblock corrections in several /block-supports files. 2021-12-01 23:14:22 +00:00
border.php Editor: Backport block supports (border, color, elements, spacing) from Gutenberg to WP 6.1. 2022-09-19 20:12:02 +00:00
colors.php Docs: Use third-person singular verbs for Block Supports related function descriptions, as per docblocks standards. 2022-11-24 22:34:13 +00:00
custom-classname.php Docs: Use third-person singular verbs for Block Supports related function descriptions, as per docblocks standards. 2022-11-24 22:34:13 +00:00
dimensions.php Editor: Introduce minimum height dimensions block support. 2023-02-01 16:13:49 +00:00
duotone.php Editor: Fix invalid parameters being passed to wp_register_style(). 2023-02-23 21:32:15 +00:00
elements.php Editor: Use WP_HTML_Tag_Processor in wp_render_elements_support(). 2023-02-06 19:41:25 +00:00
generated-classname.php Docs: Various docblock fixes in Block Supports related functions. 2022-11-24 22:50:16 +00:00
layout.php Editor: Move variables to where used in wp_render_layout_support_flag. 2023-03-13 16:30:09 +00:00
position.php Editor: svn add new files missed in [55285]. 2023-02-07 18:09:44 +00:00
settings.php Block editor: Add frontend block-level settings to the core. 2023-02-07 12:40:44 +00:00
spacing.php Docs: Various docblock fixes in Block Supports related functions. 2022-11-24 22:50:16 +00:00
typography.php Editor: Adds 'settings.typography.fluid.minFontSize' support to wp_get_typography_font_size_value(). 2023-01-24 20:38:25 +00:00
utils.php Editor: Backport block support changes from the Gutenberg plugin 2022-04-05 12:06:48 +00:00