Support » Plugin: Editorial Calendar » Dragging posts in the calendar causes incorrect cron scheduling

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Zack Grossbart

    (@zgrossbart)

    Hi Ben,

    Thanks for using the Editorial Calendar. I’m sorry you’re having trouble with it.

    Can you please tell me a little more about what’s going on. I’m not sure what you mean by the cron job. I don’t think WordPress uses cron since it’s all in PHP. What kind of behavior are you seeing? How can I reproduce this issue?

    Thanks,
    Zack

    Hi Zack,

    It’s the wp-cron entries that get created in the options. If you compare the result of a query like:

    SELECT option_value FROM wp_options WHERE option_name = “cron”

    with

    SELECT id,post_title,post_date,post_date_gmt,post_status FROM wp_posts WHERE post_status = “future”

    and look at the dates of the two sets of results, you’ll see that sometimes the dates in the options end up being very wrong (negative values).

    I can send you a php script I wrote to check when things go awry if you’re interested.

    Regards,

    Ben

    Plugin Author Zack Grossbart

    (@zgrossbart)

    Thanks for the details Ben, but I’m still not following this issue. Is this causing a problem? Are there side effects of doing this? Does this work differently than if you schedule something from the WordPress edit screen?

    Thanks,
    Zack

    Hi Zack,

    The side effect is that the post doesn’t publish. If I schedule it from the post edit view or the quick edit button in the post list then it works fine.

    Cheers,

    Ben

    Hi Zack,

    After reading another thread I tried deactivating ‘Edit Flow’ and the problem went away. Like the other poster, I’d love to be able to use both. I’m happy to provide any debug info you need.

    Cheers,

    Ben

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Dragging posts in the calendar causes incorrect cron scheduling’ is closed to new replies.