Changeset 47490 for branches/3.9/tests/phpunit/includes/testcase.php
- Timestamp:
- 03/22/2020 02:43:22 PM (5 years ago)
- Location:
- branches/3.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.9
-
branches/3.9/tests/phpunit/includes/testcase.php
r47329 r47490 166 166 } 167 167 } 168 168 169 169 function flush_cache() { 170 170 global $wp_object_cache; … … 506 506 return $files; 507 507 } 508 509 /** 510 * Helper to Convert a microtime string into a float 511 */ 512 protected function _microtime_to_float($microtime ){ 513 $time_array = explode( ' ', $microtime ); 514 return array_sum( $time_array ); 515 } 508 516 }
Note: See TracChangeset
for help on using the changeset viewer.