Changeset 3528 for trunk/wp-admin/edit.php
- Timestamp:
- 02/14/2006 06:23:03 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit.php
r3517 r3528 85 85 </form> 86 86 87 <?php $arc_result = $wpdb->get_results("SELECT DISTINCT YEAR(post_date) AS yyear, MONTH(post_date) AS mmonth FROM $wpdb->posts WHERE post_ date != '0000-00-00 00:00:00' ORDER BY post_date DESC");87 <?php $arc_result = $wpdb->get_results("SELECT DISTINCT YEAR(post_date) AS yyear, MONTH(post_date) AS mmonth FROM $wpdb->posts WHERE post_type = 'post' ORDER BY post_date DESC"); 88 88 89 89 if ( count($arc_result) ) { ?>
Note: See TracChangeset
for help on using the changeset viewer.