WordPress.org

Make WordPress Core

Changeset 27332


Ignore:
Timestamp:
02/28/2014 10:17:06 PM (8 years ago)
Author:
johnbillion
Message:

Correct the inline docs for timer_stop(). Fixes #26874. Props jackreichert

File:
1 edited

Legend:

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

    r27257 r27332  
    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 float The "second.microsecond" finished time calculation
     220 * @return string The "second.microsecond" finished time calculation. The number is formatted for human consumption, it is both localized and rounded.
    221221 */
    222222function timer_stop( $display = 0, $precision = 3 ) { // if called like timer_stop(1), will echo $timetotal
Note: See TracChangeset for help on using the changeset viewer.