Changeset 59885 for trunk/src/wp-includes/post.php
- Timestamp:
- 02/27/2025 11:08:10 PM (21 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r59784 r59885 69 69 ) 70 70 ); 71 72 // Enhance page editor for block themes by rendering template and content blocks. 73 if ( wp_is_block_theme() && current_theme_supports( 'block-templates' ) ) { 74 add_post_type_support( 'page', 'editor', array( 'default-mode' => 'template-locked' ) ); 75 } 71 76 72 77 register_post_type(
Note:
See TracChangeset
for help on using the changeset viewer.