mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-17 16:15:24 +01:00
Editor: Move footnotes block hooks to default-filters.php
Follow up to [56839]. Built from https://develop.svn.wordpress.org/trunk@56845 git-svn-id: http://core.svn.wordpress.org/trunk@56357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9f7edd0413
commit
5a306cc56d
@ -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
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.4-beta3-56839';
|
||||
$wp_version = '6.4-beta3-56845';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user