Changeset 60076 for trunk/src/wp-includes/post.php
- Timestamp:
- 03/25/2025 06:43:22 AM (6 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/wp-includes/post.php ¶
r59968 r60076 8525 8525 ); 8526 8526 } 8527 8528 /**8529 * Sets the default editor mode based on support for block templates.8530 *8531 * @since 6.8.08532 */8533 function wp_set_editor_default_mode() {8534 if ( wp_is_block_theme() && current_theme_supports( 'block-templates' ) ) {8535 add_post_type_support( 'page', 'editor', array( 'default-mode' => 'template-locked' ) );8536 }8537 }
Note: See TracChangeset
for help on using the changeset viewer.