Ticket #5016 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

timer_stop() returns error when called from advanced-cache.php

Reported by: javiergarciaesteban Assigned to: anonymous
Priority: high Milestone: 2.3
Component: General Version: 2.3
Severity: normal Keywords: timer_stop, number_format_i18n
Cc:

Description

timer_stop() is defined *before* advanced-cache.php runs, but it calls the newly added function number_format_i18n(), which is defined *after* (in functions.php file).

So timer_stop() returns an error when called from advanced-cache.php. Caching systems use widely this function to output the execution time.

Change History

09/19/07 20:24:59 changed by javiergarciaesteban

  • keywords changed from time to timer_stop, number_format_i18n.

09/19/07 20:43:48 changed by markjaquith

  • priority changed from normal to high.

09/19/07 20:48:35 changed by markjaquith

  • status changed from new to closed.
  • resolution set to fixed.

(In [6139]) Make sure number_format_i18n() is available before calling it in timer_stop(). fixes #5016