WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 8 years ago

Last modified 7 years ago

#991 closed defect (bug) (fixed)

timer_stop() does not consider precision if not in display mode

Reported by: nbachiyski Owned by: mdawaffe
Milestone: Priority: normal
Severity: minor Version: 1.5.1
Component: General Keywords: has-patch
Focuses: Cc:

Description

If display parameter is false then the timer_stop() function returns the current time without taking into consideration the precision parameter.

Attachments (3)

timer_stop-return-precision.diff (561 bytes) - added by nbachiyski 9 years ago.
991branches20.diff (1.3 KB) - added by mdawaffe 8 years ago.
991trunk.diff (1.2 KB) - added by mdawaffe 8 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 nbachiyski9 years ago

  • Patch set to No

comment:2 Nazgul8 years ago

  • Keywords has-patch added
  • Milestone set to 2.1

comment:3 Nazgul8 years ago

  • Milestone changed from 2.1 to 2.0.5

2.0.5 Candidate

comment:4 markjaquith8 years ago

Patch needs a refresh.

mdawaffe8 years ago

mdawaffe8 years ago

comment:5 mdawaffe8 years ago

  • Owner changed from anonymous to mdawaffe
  • Status changed from new to assigned

Patches updated for branches/2.0 and trunk.

comment:6 markjaquith8 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [4344]) allow timer_stop() to use number_format() when returning. Props mdawaffe and nbachiyski. fixes #991

comment:7 markjaquith8 years ago

(In [4345]) allow timer_stop() to use number_format() when returning. Props mdawaffe and nbachiyski. fixes #991

comment:8 anonymous7 years ago

  • Milestone 2.0.5 deleted

Milestone 2.0.5 deleted

Note: See TracTickets for help on using tickets.