Completed
Push — master ( 3fb30d...2b3c4d )
by Jared
9s
created
lib/timber-archives.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
 		$show_year = $r['show_year'];
134 134
 		//will need to specify which year we're looking for
135 135
 		$query = "SELECT YEAR(post_date) AS `year`, MONTH(post_date) AS `month`, count(ID) as posts "
136
-			. "FROM $wpdb->posts $join $where GROUP BY YEAR(post_date), MONTH(post_date) "
136
+			. "from $wpdb->posts $join $where GROUP BY YEAR(post_date), MONTH(post_date) "
137 137
 			. "ORDER BY post_date $order $limit";
138 138
 		$key = md5($query);
139 139
 		$key = "wp_get_archives:$key:$last_changed";
Please login to merge, or discard this patch.