Changeset 48844 for trunk/tests/phpunit/tests/term/meta.php
- Timestamp:
- 08/23/2020 03:46:41 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/meta.php
r46586 r48844 117 117 global $wpdb; 118 118 119 // Clear any previous term IDs from the queue. 120 wp_metadata_lazyloader()->reset_queue( 'term' ); 121 119 122 $p = self::factory()->post->create( array( 'post_status' => 'publish' ) ); 120 123 … … 156 159 } 157 160 } 161 } 162 163 public static function set_cache_results( $q ) { 164 $q->set( 'cache_results', true ); 158 165 } 159 166 … … 474 481 } 475 482 476 public static function set_cache_results( $q ) {477 $q->set( 'cache_results', true );478 }479 480 483 /** 481 484 * @ticket 38323
Note: See TracChangeset
for help on using the changeset viewer.