Changeset 55247 for trunk/src/wp-admin/site-editor.php
- Timestamp:
- 02/07/2023 07:14:11 AM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/site-editor.php
r55086 r55247 77 77 'supportsLayout' => wp_theme_has_theme_json(), 78 78 'supportsTemplatePartsMode' => ! wp_is_block_theme() && current_theme_supports( 'block-template-parts' ), 79 '__unstableHomeTemplate' => $home_template,80 79 ); 81 82 /**83 * Home template resolution is not needed when block template parts are supported.84 * Set the value to `true` to satisfy the editor initialization guard clause.85 */86 if ( $custom_settings['supportsTemplatePartsMode'] ) {87 $custom_settings['__unstableHomeTemplate'] = true;88 }89 80 90 81 // Add additional back-compat patterns registered by `current_screen` et al.
Note: See TracChangeset
for help on using the changeset viewer.