Make WordPress Core


Ignore:
Timestamp:
10/12/2023 01:25:48 PM (14 months ago)
Author:
desrosj
Message:

Editor: Move footnotes block hooks to default-filters.php

Follow up to [56839].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/default-filters.php

    r56793 r56845  
    614614
    615615/*
     616 * Block specific actions and filters.
     617 */
     618
     619// Footnotes Block.
     620add_action( 'init', '_wp_footnotes_kses_init' );
     621add_action( 'set_current_user', '_wp_footnotes_kses_init' );
     622add_filter( 'force_filtered_html_on_import', '_wp_footnotes_force_filtered_html_on_import_filter', 999 );
     623
     624/*
    616625 * Disable "Post Attributes" for wp_navigation post type. The attributes are
    617626 * also conditionally enabled when a site has custom templates. Block Theme
Note: See TracChangeset for help on using the changeset viewer.