Make WordPress Core

Ticket #22033: 22033.diff

File 22033.diff, 476 bytes (added by johnbillion, 13 years ago)
  • wp-admin/includes/class-wp-list-table.php

     
    364364                        SELECT DISTINCT YEAR( post_date ) AS year, MONTH( post_date ) AS month
    365365                        FROM $wpdb->posts
    366366                        WHERE post_type = %s
     367                        AND post_status != 'auto-draft'
    367368                        ORDER BY post_date DESC
    368369                ", $post_type ) );
    369370