Changeset 57023 for branches/6.4/src/wp-includes/block-patterns.php
- Timestamp:
- 10/27/2023 07:23:24 PM (11 months ago)
- Location:
- branches/6.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.4
-
branches/6.4/src/wp-includes/block-patterns.php
r56979 r57023 329 329 */ 330 330 function _register_theme_block_patterns() { 331 332 /* 333 * During the bootstrap process, a check for active and valid themes is run. 334 * If no themes are returned, the theme's functions.php file will not be loaded, 335 * which can lead to errors if patterns expect some variables or constants to 336 * already be set at this point, so bail early if that is the case. 337 */ 338 if ( empty( wp_get_active_and_valid_themes() ) ) { 339 return; 340 } 341 331 342 /* 332 343 * Register patterns for the active theme. If the theme is a child theme,
Note: See TracChangeset
for help on using the changeset viewer.