diff --git a/wp-includes/template-functions-general.php b/wp-includes/template-functions-general.php index 3fc8e827e0..2caacb7059 100644 --- a/wp-includes/template-functions-general.php +++ b/wp-includes/template-functions-general.php @@ -239,7 +239,6 @@ function get_archives($type='', $limit='', $format='html', $before = '', $after $add_hours = intval(get_settings('gmt_offset')); $add_minutes = intval(60 * (get_settings('gmt_offset') - $add_hours)); - $wp_posts_post_date_field = "post_date"; // "DATE_ADD(post_date, INTERVAL '$add_hours:$add_minutes' HOUR_MINUTE)"; $now = current_time('mysql'); @@ -323,7 +322,6 @@ function get_calendar($daylength = 1) { $add_hours = intval(get_settings('gmt_offset')); $add_minutes = intval(60 * (get_settings('gmt_offset') - $add_hours)); - $wp_posts_post_date_field = "post_date"; // "DATE_ADD(post_date, INTERVAL '$add_hours:$add_minutes' HOUR_MINUTE)"; // Let's figure out when we are if (!empty($monthnum) && !empty($year)) { @@ -465,7 +463,7 @@ function get_calendar($daylength = 1) { echo "\n\t\n\t