Opened 4 years ago
Closed 3 years ago
#10915 closed defect (bug) (fixed)
DRY: WP should use current_time() to calculate current time
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Date/Time | Version: | |
| Severity: | normal | Keywords: | has-patch current_time |
| Cc: | Denis-de-Bernardy |
Description
Multiple places in the code calculate the current time, repeating what current_time('timestamp') already does.
Patch fixes.
Attachments (2)
Change History (8)
comment:3
Denis-de-Bernardy
— 3 years ago
- Cc Denis-de-Bernardy added
comment:4
hakre
— 3 years ago
Patch still applied clean. Found a duplicate line in the review and therefore updated the patch.
comment:6
automattor
— 3 years ago
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Related: #9588 #8662