File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -350,6 +350,7 @@ function _unhook_block_registration() {
350350 remove_action ( 'init ' , '_register_block_bindings_pattern_overrides_source ' );
351351 remove_action ( 'init ' , '_register_block_bindings_post_data_source ' );
352352 remove_action ( 'init ' , '_register_block_bindings_post_meta_source ' );
353+ remove_action ( 'init ' , '_register_block_bindings_term_data_source ' );
353354}
354355tests_add_filter ( 'init ' , '_unhook_block_registration ' , 1000 );
355356
Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ public function test_get_all_registered() {
7575 'core/post-data ' => get_block_bindings_source ( 'core/post-data ' ),
7676 'core/post-meta ' => get_block_bindings_source ( 'core/post-meta ' ),
7777 'core/pattern-overrides ' => get_block_bindings_source ( 'core/pattern-overrides ' ),
78+ 'core/term-data ' => get_block_bindings_source ( 'core/term-data ' ),
7879 );
7980
8081 $ registered = get_all_registered_block_bindings_sources ();
You can’t perform that action at this time.
0 commit comments