#201 closed defect (bug) (fixed)
The name of the previous month in the calendar is not localized
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | trivial | Version: | |
Component: | Template | Keywords: | |
Focuses: | Cc: |
Description
In template--functions-general.php, line 404:
$month_abbrev[$month[zeroise($previous->month, 2)]]
It shold be:
substr($month[zeroise($previous->month, 2)], 0, 3)
right?
Change History (8)
#4
@
21 years ago
- Resolution changed from 10 to 20
- Status changed from assigned to closed
http://wordpress.org/pipermail/cvs_wordpress.org/2004-August/000209.html
This fixes the localization of the next month link.
This ticket was mentioned in Slack in #docs by atachibana. View the logs.
7 years ago
This ticket was mentioned in Slack in #docs by atachibana. View the logs.
7 years ago
This ticket was mentioned in Slack in #docs by atachibana. View the logs.
5 years ago
Note: See
TracTickets for help on using
tickets.
Previous month is localized. It's next month that's broken. substr operations are not allowed because they are not multi-byte aware. That's why we use the $month_abbrev array.