WordPress.org

Make WordPress Core

Ticket #26874: load.php.diff

File load.php.diff, 675 bytes (added by jackreichert, 8 years ago)
  • src/wp-includes/load.php

    diff --git src/wp-includes/load.php src/wp-includes/load.php
    index 5ec8edf..e589f5f 100644
    function timer_start() { 
    217217 *
    218218 * @param int $display Use '0' or null to not echo anything and 1 to echo the total time
    219219 * @param int $precision The amount of digits from the right of the decimal to display. Default is 3.
    220  * @return string The "second.microsecond" finished time calculation
     220 * @return float The "second.microsecond" finished time calculation
    221221 */
    222222function timer_stop( $display = 0, $precision = 3 ) { // if called like timer_stop(1), will echo $timetotal
    223223        global $timestart, $timeend;