mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-18 04:25:07 +00:00
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