Changeset 47491 for branches/3.8/tests/phpunit/includes/testcase.php
- Timestamp:
- 03/22/2020 02:43:45 PM (5 years ago)
- Location:
- branches/3.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.8
-
branches/3.8/tests/phpunit/includes/testcase.php
r47338 r47491 163 163 } 164 164 } 165 165 166 166 function flush_cache() { 167 167 global $wp_object_cache; … … 503 503 return $files; 504 504 } 505 506 /** 507 * Helper to Convert a microtime string into a float 508 */ 509 protected function _microtime_to_float($microtime ){ 510 $time_array = explode( ' ', $microtime ); 511 return array_sum( $time_array ); 512 } 505 513 }
Note: See TracChangeset
for help on using the changeset viewer.