Changeset 14499 for trunk/wp-includes/query.php
- Timestamp:
- 05/07/2010 05:01:29 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r14478 r14499 1781 1781 1782 1782 if ( $q['w'] ) 1783 $where .= " AND WEEK($wpdb->posts.post_date, 1)='" . $q['w'] . "'";1783 $where .= ' AND ' . _wp_mysql_week( "`$wpdb->posts`.`post_date`" ) . " = '" . $q['w'] . "'"; 1784 1784 1785 1785 if ( intval($q['comments_popup']) )
Note: See TracChangeset
for help on using the changeset viewer.