Changeset 50450 for trunk/tests/phpunit/tests/blocks/block-context.php
- Timestamp:
- 02/27/2021 05:08:26 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/blocks/block-context.php
r48937 r50450 45 45 */ 46 46 public function tearDown() { 47 parent::tearDown();48 49 47 while ( ! empty( $this->registered_block_names ) ) { 50 48 $block_name = array_pop( $this->registered_block_names ); 51 49 unregister_block_type( $block_name ); 52 50 } 51 52 parent::tearDown(); 53 53 } 54 54
Note: See TracChangeset
for help on using the changeset viewer.