WordPress/wp-includes/block-supports
spacedmonkey 9caf1c4ade 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.
Built from https://develop.svn.wordpress.org/trunk@55541


git-svn-id: http://core.svn.wordpress.org/trunk@55053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-03-13 16:32:20 +00:00
..
align.php
border.php
colors.php
custom-classname.php
dimensions.php Editor: Introduce minimum height dimensions block support. 2023-02-01 16:15:15 +00:00
duotone.php Editor: Fix invalid parameters being passed to wp_register_style(). 2023-02-23 21:34:19 +00:00
elements.php Editor: Use WP_HTML_Tag_Processor in wp_render_elements_support(). 2023-02-06 19:43:16 +00:00
generated-classname.php
layout.php Editor: Move variables to where used in wp_render_layout_support_flag. 2023-03-13 16:32:20 +00:00
position.php Editor: svn add new files missed in [55285]. 2023-02-07 18:11:18 +00:00
settings.php Block editor: Add frontend block-level settings to the core. 2023-02-07 12:42:20 +00:00
spacing.php
typography.php Editor: Adds 'settings.typography.fluid.minFontSize' support to wp_get_typography_font_size_value(). 2023-01-24 20:40:10 +00:00
utils.php