In the file:
fb-instant-articles/wizard/class-instant-articles-wizard-review-submission.php
I changed
public static function getArticlesForReview() {
$post_types = apply_filters( 'instant_articles_post_types', array( 'post' ) );
// Cap the number of articles returned to
// 100 because of performance concerns.
return wp_get_recent_posts(
array(
'numberposts' => min( self::MIN_ARTICLES, 100 ),
'post_type' => $post_types
),
'OBJECT'
);
}
to
public static function getArticlesForReview() {
$post_types = apply_filters( 'instant_articles_post_types', array( 'post' ) );
// Cap the number of articles returned to
// 100 because of performance concerns.
return wp_get_recent_posts(
array(
'numberposts' => min( self::MIN_ARTICLES, 100 ),
'post_type' => $post_types,
'post_status' => 'publish'
),
'OBJECT'
);
}
I added the post_status parameter to the query.
I could see that my draft post was removed from the submit for review queue. I have not submitted for review yet, so not totally sure this takes care of the issue fully.
Rich