Changeset 52145 for trunk/src/wp-includes/default-filters.php
- Timestamp:
- 11/12/2021 03:53:18 AM (5 years 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
r52133 r52145 584 584 add_action( 'admin_footer-widgets.php', 'wp_add_iframed_editor_assets_html' ); 585 585 586 add_action( 'use_block_editor_for_post_type', '_disable_block_editor_for_navigation_post_type', 10, 2 ); 587 add_action( 'edit_form_after_title', '_disable_content_editor_for_navigation_post_type' ); 588 add_action( 'edit_form_after_editor', '_enable_content_editor_for_navigation_post_type' ); 589 590 /* 591 * Disable "Post Attributes" for wp_navigation post type. The attributes are 592 * also conditionally enabled when a site has custom templates. Block Theme 593 * templates can be available for every post type. 594 */ 595 add_filter( 'theme_wp_navigation_templates', '__return_empty_array' ); 596 586 597 // Taxonomy. 587 598 add_action( 'init', 'create_initial_taxonomies', 0 ); // Highest priority. … … 671 682 672 683 // Navigation areas. 673 add_action( 'setup_theme', '_register_default_navigation_areas' ); 684 add_action( 'setup_theme', '_wp_register_default_navigation_areas' ); 685 add_action( 'switch_theme', '_wp_migrate_menu_to_navigation_post', 99, 3 ); 674 686 675 687 unset( $filter, $action );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)