diff --git a/wp-includes/blocks.php b/wp-includes/blocks.php index dddcfa27ce..ecb4fa5b3d 100644 --- a/wp-includes/blocks.php +++ b/wp-includes/blocks.php @@ -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 ); diff --git a/wp-includes/default-filters.php b/wp-includes/default-filters.php index 4a7787761b..e99d0db3a6 100644 --- a/wp-includes/default-filters.php +++ b/wp-includes/default-filters.php @@ -612,6 +612,15 @@ add_action( 'wp_head', 'wp_maybe_inline_styles', 1 ); // Run for styles enqueued in . 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 diff --git a/wp-includes/version.php b/wp-includes/version.php index 049a4d2fe4..e9cce553de 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.