Changeset 53266 for trunk/src/wp-includes/default-filters.php
- Timestamp:
- 04/26/2022 06:30:24 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/default-filters.php
r53160 r53266 8 8 * hook. 9 9 * 10 * Not all of the default hooks are found in default-filters.php 10 * Not all of the default hooks are found in this file. 11 * For instance, administration related hooks are located in 12 * wp-admin/includes/admin-filters.php. 13 * 14 * If a hook should only be called from a specific context 15 * (admin area, multisite environment…), please move it 16 * to a more appropriate file instead. 11 17 * 12 18 * @package WordPress … … 294 300 add_filter( 'editable_slug', 'urldecode' ); 295 301 add_filter( 'editable_slug', 'esc_textarea' ); 296 add_filter( 'nav_menu_meta_box_object', '_wp_nav_menu_meta_box_object' );297 302 add_filter( 'pingback_ping_source_uri', 'pingback_ping_source_uri' ); 298 303 add_filter( 'xmlrpc_pingback_error', 'xmlrpc_pingback_error' ); … … 414 419 add_action( 'comment_form', 'wp_comment_form_unfiltered_html_nonce' ); 415 420 add_action( 'admin_init', 'send_frame_options_header', 10, 0 ); 416 add_action( 'welcome_panel', 'wp_welcome_panel' );417 421 418 422 // Privacy. … … 463 467 // Admin color schemes. 464 468 add_action( 'admin_init', 'register_admin_color_schemes', 1 ); 465 add_action( 'admin_color_scheme_picker', 'admin_color_scheme_picker' );466 469 467 470 // If the upgrade hasn't run yet, assume link manager is used. … … 592 595 add_action( 'wp_footer', 'wp_maybe_inline_styles', 1 ); // Run for late-loaded styles in the footer. 593 596 594 add_action( 'use_block_editor_for_post_type', '_disable_block_editor_for_navigation_post_type', 10, 2 );595 add_action( 'edit_form_after_title', '_disable_content_editor_for_navigation_post_type' );596 add_action( 'edit_form_after_editor', '_enable_content_editor_for_navigation_post_type' );597 598 597 /* 599 598 * Disable "Post Attributes" for wp_navigation post type. The attributes are
Note: See TracChangeset
for help on using the changeset viewer.