do every post, not just published ones
This commit is contained in:
parent
21e20d02f0
commit
2521b8dfca
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue