| @@ -39,15 +39,8 @@ | ||
| 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 | - | |
| 50 | 43 | /** |
| 51 | 44 | * Adds the defer loading strategy to all registered blocks. |
| 52 | 45 | * |
| 53 | 46 | * This function would not be part of core merge. Instead, the register_block_script_handle() function would be patched |
| @@ -380,9 +373,9 @@ | ||
| 380 | 373 | * @return string Input argument of the filter. |
| 381 | 374 | */ |
| 382 | 375 | function _gutenberg_footnotes_force_filtered_html_on_import_filter( $arg ) { |
| 383 | 376 | if ( function_exists( '_wp_filter_post_meta_footnotes' ) ) { |
| 384 | - return $arg; | |
| 377 | + return; | |
| 385 | 378 | } |
| 386 | 379 | // force_filtered_html_on_import is true we need to init the global styles kses filters. |
| 387 | 380 | if ( $arg ) { |
| 388 | 381 | _gutenberg_footnotes_kses_init_filters(); |