PluginProbe
Gutenberg / 24.0.0
Gutenberg v24.0.0
24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 All 403 releases
← All changes | lib/blocks.php +8 -1 23.3.224.0.0 View file →
@@ -39,8 +39,15 @@
39 39 }
40 40
41 41 add_action( 'init', 'gutenberg_reregister_core_block_types' );
42 42
43 +/*
44 + * Remove the WordPress core filter to avoid generating a second tabs ID for
45 + * every tabs block: `wp_unique_prefixed_id()` advances a counter, so running
46 + * both copies makes the numbering skip.
47 + */
48 +remove_filter( 'render_block_context', 'block_core_tabs_provide_context', 10 );
49 +
43 50 /**
44 51 * Adds the defer loading strategy to all registered blocks.
45 52 *
46 53 * This function would not be part of core merge. Instead, the register_block_script_handle() function would be patched
@@ -373,9 +380,9 @@
373 380 * @return string Input argument of the filter.
374 381 */
375 382 function _gutenberg_footnotes_force_filtered_html_on_import_filter( $arg ) {
376 383 if ( function_exists( '_wp_filter_post_meta_footnotes' ) ) {
377 - return;
384 + return $arg;
378 385 }
379 386 // force_filtered_html_on_import is true we need to init the global styles kses filters.
380 387 if ( $arg ) {
381 388 _gutenberg_footnotes_kses_init_filters();