Changeset 52716
- Timestamp:
- 02/12/2022 07:45:56 AM (3 years ago)
- Location:
- branches/5.9
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.9
-
branches/5.9/src/wp-includes/block-template.php
r52596 r52716 48 48 function locate_block_template( $template, $type, array $templates ) { 49 49 global $_wp_current_template_content; 50 51 if ( ! current_theme_supports( 'block-templates' ) ) { 52 return $template; 53 } 50 54 51 55 if ( $template ) { -
branches/5.9/tests/phpunit/tests/block-template.php
r52308 r52716 19 19 parent::set_up(); 20 20 switch_theme( 'block-theme' ); 21 do_action( 'setup_theme' ); 21 22 } 22 23
Note: See TracChangeset
for help on using the changeset viewer.