Changeset 54860 for trunk/src/wp-includes/block-template-utils.php
- Timestamp:
- 11/21/2022 04:48:33 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-template-utils.php
r54831 r54860 504 504 $template = new WP_Block_Template(); 505 505 $template->id = $theme . '//' . $template_file['slug']; 506 $template->theme = $theme;506 $template->theme = ! empty( $template_file['theme'] ) ? $template_file['theme'] : $theme; 507 507 $template->content = _inject_theme_attribute_in_block_template_content( $template_content ); 508 508 $template->slug = $template_file['slug'];
Note: See TracChangeset
for help on using the changeset viewer.