Start of week and WEEK mysql date function
|Reported by:||arena||Owned by:|
In wp-includes/general-template.php :
$start_of_week = get_option('start_of_week'); $query = "SELECT DISTINCT WEEK(post_date, $start_of_week) AS `week`, ........
last argument value can lead to malfunction
Change History (23)
- Component changed from General to Date/Time
- Milestone changed from Unassigned to 2.9
- Milestone changed from Future Release to 2.9.1
- Severity changed from normal to critical
comment:10 follow-ups: ↓ 11 ↓ 12 @dd32 — 6 years ago
- Keywords needs-patch added; has-patch tested removed
comment:14 @dd32 — 6 years ago
- Milestone changed from 2.9.1 to 3.0
- Severity changed from critical to major
Note: See TracTickets for help on using tickets.