WordPress.org

Ready to get started?Download WordPress

Forums

Auto Prune Posts
Not working for me (2 posts)

  1. ryanmc
    Member
    Posted 3 years ago #

    This plugin is not working for me. I entered some debug code and it seems to be stopping at the $period_php = $values['period_php']; line.

    For example I entered two echo statements, one before and one after, and I only see the one before.

    I don't see anything wrong with that line of code, and I don't get any errors in my logs. Any ideas?

    echo('here1 '.$values['period_php']);
    $period_php = $values['period_php']; // Will be in format so strtotime can handle this [int][space][string] example: "4 day" or "5 month"
    echo('here2 '.$values['period_php']);

    http://wordpress.org/extend/plugins/auto-prune-posts/

  2. ramon fincken
    Member
    Plugin Author

    Posted 3 years ago #

    if you do this .. does it work again?

    FIND
    if (false === $lastrun) {

    REPLACE WITH
    if(true) {

    ?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic