Changeset 13464 for trunk/tests/phpunit/includes/testcase.php
- Timestamp:
- 04/25/2023 10:17:33 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/includes/testcase.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/testcase.php
r13442 r13464 196 196 $GLOBALS['bp']->{$component}->main_nav = array(); 197 197 $GLOBALS['bp']->{$component}->sub_nav = array(); 198 } 199 200 $block_registry = WP_Block_Type_Registry::get_instance(); 201 foreach ( array_keys( $block_registry->get_all_registered() ) as $block_name ) { 202 if ( 0 === strpos( $block_name, 'bp/' ) ) { 203 unregister_block_type( $block_name ); 204 } 198 205 } 199 206
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)