Make WordPress Core


Ignore:
Timestamp:
12/20/2014 11:03:21 PM (10 years ago)
Author:
wonderboymusic
Message:

Correct the @param docs for arguments that are truthy/falsey.

See #30799.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/load.php

    r30581 r30983  
    218218 * @since 0.71
    219219 *
    220  * @global float $timestart Seconds from when timer_start() is called.
    221  * @global float $timeend   Seconds from when function is called.
    222  *
    223  * @param int $display   Whether to echo or return the results. Accepts 0|false for return,
    224  *                       1|true for echo. Default 0|false.
    225  * @param int $precision The number of digits from the right of the decimal to display.
    226  *                       Default 3.
     220 * @global float   $timestart Seconds from when timer_start() is called.
     221 * @global float   $timeend   Seconds from when function is called.
     222 *
     223 * @param int|bool $display   Whether to echo or return the results. Accepts 0|false for return,
     224 *                            1|true for echo. Default 0|false.
     225 * @param int      $precision The number of digits from the right of the decimal to display.
     226 *                            Default 3.
    227227 * @return string The "second.microsecond" finished time calculation. The number is formatted
    228228 *                for human consumption, both localized and rounded.
Note: See TracChangeset for help on using the changeset viewer.