Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author johnh10

    (@johnh10)

    Yes I’m afraid that’s true. Currently it doesn’t look for post_status “private” , perhaps in next version. If you need something now, find and change the following in the plugin php file:

    // if check drafts off or if no drafts match query, check if we should recycle posts instead
    if (empty($results) && $aps_recycle == TRUE) {
    $args[‘post_status’] = “publish”;
    $args[‘orderby’] = “post_date”;
    $args[‘order’] = “ASC”;
    $results = get_posts($args);
    }

    change post_status line to
    $args[‘post_status’] = “private”;

    then find line

    $update[‘post_status’] = ‘publish’;

    and change line to
    $update[‘post_status’] = $args[‘post_status’];

    that hack should recycle your private posts.

    Plugin Author johnh10

    (@johnh10)

    Hello,
    I’ve decided not to publish private status posts, as that would defeat the purpose of making it private to begin with. If you need this the code hack above would be best.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Does this work on private posts’ is closed to new replies.