mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Correct the inline docs for timer_stop()
. Fixes #26874. Props jackreichert
Built from https://develop.svn.wordpress.org/trunk@27332 git-svn-id: http://core.svn.wordpress.org/trunk@27184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8dd1261904
commit
50c240d4d0
@ -217,7 +217,7 @@ function timer_start() {
|
||||
*
|
||||
* @param int $display Use '0' or null to not echo anything and 1 to echo the total time
|
||||
* @param int $precision The amount of digits from the right of the decimal to display. Default is 3.
|
||||
* @return float The "second.microsecond" finished time calculation
|
||||
* @return string The "second.microsecond" finished time calculation. The number is formatted for human consumption, it is both localized and rounded.
|
||||
*/
|
||||
function timer_stop( $display = 0, $precision = 3 ) { // if called like timer_stop(1), will echo $timetotal
|
||||
global $timestart, $timeend;
|
||||
|
Loading…
Reference in New Issue
Block a user