Changeset 6736
- Timestamp:
- 02/05/2008 11:29:59 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/schema.php
r6732 r6736 54 54 KEY comment_approved (comment_approved), 55 55 KEY comment_post_ID (comment_post_ID), 56 KEY comment_approved_date (comment_approved,comment_date)56 KEY comment_approved_date_gmt (comment_approved,comment_date_gmt) 57 57 ) $charset_collate; 58 58 CREATE TABLE $wpdb->links ( -
trunk/wp-includes/comment.php
r6729 r6736 208 208 switch ( strtolower($timezone)) { 209 209 case 'gmt': 210 $lastcommentmodified = $wpdb->get_var("SELECT comment_date_gmt FROM $wpdb->comments WHERE comment_approved = '1' ORDER BY comment_date DESC LIMIT 1");210 $lastcommentmodified = $wpdb->get_var("SELECT comment_date_gmt FROM $wpdb->comments WHERE comment_approved = '1' ORDER BY comment_date_gmt DESC LIMIT 1"); 211 211 break; 212 212 case 'blog': 213 $lastcommentmodified = $wpdb->get_var("SELECT comment_date FROM $wpdb->comments WHERE comment_approved = '1' ORDER BY comment_date DESC LIMIT 1");213 $lastcommentmodified = $wpdb->get_var("SELECT comment_date FROM $wpdb->comments WHERE comment_approved = '1' ORDER BY comment_date_gmt DESC LIMIT 1"); 214 214 break; 215 215 case 'server': -
trunk/wp-includes/version.php
r6732 r6736 17 17 * @global int $wp_db_version 18 18 */ 19 $wp_db_version = 673 1;19 $wp_db_version = 6736; 20 20 21 21 ?>
Note: See TracChangeset
for help on using the changeset viewer.