Changeset 28634
- Timestamp:
- 05/30/2014 06:09:43 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r28633 r28634 4007 4007 function _wp_mysql_week( $column ) { 4008 4008 switch ( $start_of_week = (int) get_option( 'start_of_week' ) ) { 4009 default :4010 case 0 :4011 return "WEEK( $column, 0 )";4012 4009 case 1 : 4013 4010 return "WEEK( $column, 1 )"; … … 4018 4015 case 6 : 4019 4016 return "WEEK( DATE_SUB( $column, INTERVAL $start_of_week DAY ), 0 )"; 4017 case 0 : 4018 default : 4019 return "WEEK( $column, 0 )"; 4020 4020 } 4021 4021 }
Note: See TracChangeset
for help on using the changeset viewer.