all repos — wp-url2snapshot @ 2521b8dfcaa90067f154c2f949dcbcbe3c09234d

do every post, not just published ones
Peter Molnar hello@petermolnar.eu
Wed, 27 Jan 2016 13:25:16 +0000
commit

2521b8dfcaa90067f154c2f949dcbcbe3c09234d

parent

21e20d02f0f17937b43040ac8be84daac0ebbaa7

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M wp-url2snapshot.phpwp-url2snapshot.php

@@ -96,7 +96,7 @@

$args = array( 'posts_per_page' => -1, 'post_type' => 'post', - 'post_status' => 'publish', + 'post_status' => 'any', ); $posts = get_posts( $args );