Changeset 40566 for branches/4.0/tests/phpunit/includes/testcase.php
- Timestamp:
- 05/01/2017 11:42:16 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.0/tests/phpunit/includes/testcase.php
r40247 r40566 125 125 } 126 126 } 127 127 128 128 function flush_cache() { 129 129 global $wp_object_cache; … … 447 447 return $files; 448 448 } 449 450 /** 451 * Helper to Convert a microtime string into a float 452 */ 453 protected function _microtime_to_float($microtime ){ 454 $time_array = explode( ' ', $microtime ); 455 return array_sum( $time_array ); 456 } 449 457 }
Note: See TracChangeset
for help on using the changeset viewer.