Changeset 61029 for trunk/src/wp-includes/default-filters.php
- Timestamp:
- 10/21/2025 01:40:28 PM (8 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/default-filters.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/default-filters.php
r61022 r61029 741 741 add_filter( 'render_block_context', '_block_template_render_without_post_block_context' ); 742 742 add_filter( 'pre_wp_unique_post_slug', 'wp_filter_wp_template_unique_post_slug', 10, 5 ); 743 add_action( 'save_post_wp_template', 'wp_maybe_activate_template' ); 743 744 add_action( 'save_post_wp_template_part', 'wp_set_unique_slug_on_create_template_part' ); 744 745 add_action( 'wp_enqueue_scripts', 'wp_enqueue_block_template_skip_link' ); … … 781 782 add_filter( 'rest_pre_insert_wp_template_part', 'inject_ignored_hooked_blocks_metadata_attributes' ); 782 783 784 // Assign the wp_theme term to any newly created wp_template with the new endpoint. 785 // Must run before `inject_ignored_hooked_blocks_metadata_attributes`. 786 add_action( 'rest_pre_insert_wp_template', 'wp_assign_new_template_to_theme', 9, 2 ); 787 783 788 // Update ignoredHookedBlocks postmeta for some post types. 784 789 add_filter( 'rest_pre_insert_page', 'update_ignored_hooked_blocks_postmeta' );
Note: See TracChangeset
for help on using the changeset viewer.