Changeset 54812 for branches/6.1/src/wp-includes/blocks/template-part.php
- Timestamp:
- 11/11/2022 02:54:01 PM (3 years ago)
- Location:
- branches/6.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.1
-
branches/6.1/src/wp-includes/blocks/template-part.php
r54487 r54812 194 194 return array(); 195 195 } 196 197 if ( ! current_theme_supports( 'block-templates' ) && ! current_theme_supports( 'block-template-parts' ) ) { 198 return array(); 199 } 200 196 201 $variations = array(); 197 202 $template_parts = get_block_templates(
Note: See TracChangeset
for help on using the changeset viewer.