Changeset 55671 for trunk/tests/phpunit/includes/abstract-testcase.php
- Timestamp:
- 04/21/2023 09:22:04 AM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/abstract-testcase.php
r55657 r55671 196 196 wp_set_current_user( 0 ); 197 197 198 $lazyloader = wp_metadata_lazyloader(); 199 $lazyloader->reset_queue( 'term' ); 200 $lazyloader->reset_queue( 'comment' ); 198 $this->reset_lazyload_queue(); 201 199 } 202 200 … … 275 273 } 276 274 275 } 276 277 /** 278 * Reset the lazy load meta queue. 279 */ 280 protected function reset_lazyload_queue() { 281 $lazyloader = wp_metadata_lazyloader(); 282 $lazyloader->reset_queue( 'term' ); 283 $lazyloader->reset_queue( 'comment' ); 277 284 } 278 285
Note: See TracChangeset
for help on using the changeset viewer.