mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Editor: Move footnotes block hooks to default-filters.php
Follow up to [56839]. git-svn-id: https://develop.svn.wordpress.org/trunk@56845 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4846ed69d4
commit
048c80951f
@ -2028,7 +2028,3 @@ function _wp_footnotes_force_filtered_html_on_import_filter( $arg ) {
|
||||
}
|
||||
return $arg;
|
||||
}
|
||||
|
||||
add_action( 'init', '_wp_footnotes_kses_init' );
|
||||
add_action( 'set_current_user', '_wp_footnotes_kses_init' );
|
||||
add_filter( 'force_filtered_html_on_import', '_wp_footnotes_force_filtered_html_on_import_filter', 999 );
|
||||
|
||||
@ -612,6 +612,15 @@ add_filter( 'style_loader_src', 'wp_style_loader_src', 10, 2 );
|
||||
add_action( 'wp_head', 'wp_maybe_inline_styles', 1 ); // Run for styles enqueued in <head>.
|
||||
add_action( 'wp_footer', 'wp_maybe_inline_styles', 1 ); // Run for late-loaded styles in the footer.
|
||||
|
||||
/*
|
||||
* Block specific actions and filters.
|
||||
*/
|
||||
|
||||
// Footnotes Block.
|
||||
add_action( 'init', '_wp_footnotes_kses_init' );
|
||||
add_action( 'set_current_user', '_wp_footnotes_kses_init' );
|
||||
add_filter( 'force_filtered_html_on_import', '_wp_footnotes_force_filtered_html_on_import_filter', 999 );
|
||||
|
||||
/*
|
||||
* Disable "Post Attributes" for wp_navigation post type. The attributes are
|
||||
* also conditionally enabled when a site has custom templates. Block Theme
|
||||
|
||||
Loading…
Reference in New Issue
Block a user