I'm using get_posts to generate a list of posts.
$args = array( 'post_type' => 'post', 'numberposts' => -1, 'post_status' => array('publish'), 'orderby' => 'post_date', 'order' => 'DESC', 'suppress_filters' => false ); $posts = get_posts( $args );
However, the list includes posts named "Auto-Draft", even though I do not include them in the
'post_status' parameter. As far as I read those Auto-Drafts should be only existing for 7 days, but the posts that show up in the list are far older than 7 days.
Anything I'm missing? Thanks!