WordPress/wp-includes/block-supports
Felix Arntz d783a65dd9 Editor: Improve performance of `wp_render_elements_support()`.
By skipping iterations in block supports when not necessary, this changeset improves performance of the function notably.

The performance enhancement leads to even a notable improvement for overall page load time: For example, the Twenty Twenty-Four home page loads ~2% faster with this changeset.

Props dmsnell, spacedmonkey, costdev, hellofromTonya, aaronrobertshaw.
Fixes #59544.

Built from https://develop.svn.wordpress.org/trunk@56807


git-svn-id: http://core.svn.wordpress.org/trunk@56319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-09 17:07:22 +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 Editor: fix undefined array key warning. 2023-09-27 05:12:22 +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 Coding Standards: Remove redundant ignore annotations, take 5. 2023-10-02 11:27:24 +00:00
duotone.php Editor: Lazily load Duotone settings only when needed. 2023-07-13 11:34:28 +00:00
elements.php Editor: Improve performance of `wp_render_elements_support()`. 2023-10-09 17:07:22 +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: Reduce the use of the `_wp_array_get()` function to improve performance. 2023-09-26 13:47:20 +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: Simplify usage of `block_has_support()` function by supporting a string. 2023-08-10 16:48:19 +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 Editor: Replace property_exists calls in block related functions with instanceof 2023-09-29 10:20:30 +00:00
utils.php Docs: Miscellaneous docblock corrections and improvements. 2023-08-18 17:29:20 +00:00