do every post, not just published ones

This commit is contained in:
Peter Molnar 2016-01-27 13:25:16 +00:00
parent 21e20d02f0
commit 2521b8dfca

View file

@ -96,7 +96,7 @@ class WP_URL2SNAPSHOT {
$args = array( $args = array(
'posts_per_page' => -1, 'posts_per_page' => -1,
'post_type' => 'post', 'post_type' => 'post',
'post_status' => 'publish', 'post_status' => 'any',
); );
$posts = get_posts( $args ); $posts = get_posts( $args );