• Resolved shinox

    (@shinox)


    Hello everyone,

    the following problem: In the settings of “PublishPress” – Plugin we have set the CPT “Story” to “Inactive”. However, posts older than 2 years will still be drafted and we will then receive an e-mail that these posts have been drafted. Why ist that and what is the problem fix?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    Hi @shinox

    So you have set inactive on CPT Story but still see the post from that CPT is automatically on draft?

    Thread Starter shinox

    (@shinox)

    Yes, that’s exactly right. The admin also gets emails with the affected posts that have been set to “Draft”.

    Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    Does this happen with new post also?

    Thread Starter shinox

    (@shinox)

    I have a few posts here that were published on February 20th, 2020. Others were released on October 24, 2020. Apparently it was once set there that on January 5, 2023 these posts should be set to “draft”. The option that the posts from the CPT “Storys” should be set to “Draft” had already been activated in the plugin but was then deactivated. Apparently it’s still going on. How can i find out whether an extra value from the plugin was set for these posts maybe in post_meta or options table?

    Thread Starter shinox

    (@shinox)

    However i can’t test it with newer posts because this is the first time this is happening to older posts like in my description above.

    Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    I dont think our plugin will interfering your post type when it’s already set to inactive.

    Have you tried deactivate our plugin and the behavior is stop?

    Thread Starter shinox

    (@shinox)

    Yes, i already deactived it. Could it be the Cronjob of the plugin called postExpiratorExpire()? We really want an fix for that “issue” because we won’t have that problem again in the future.

    Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    You can try to check with plugin like “WP Crontrol” to see if there is any cron called from postExpiratorExpire()

    Thread Starter shinox

    (@shinox)

    Hello im back,

    quick Question for the plugin:

    If the plugin was already active and post types were selected and these post types were only removed later or at some point in the plugin, then these posts were no longer removed from the cron jobs.
    For example, once stories were active, all posts from this CPT were tagged with the “postExpiratorExpire” event in the cron list. But once you removed the “Stories” CPT, the cron events were not deleted.

    Is it possible to set a new initialization of all PostTypes in the crone properties in the plugin itself as soon as a setting changes in the CPTs?

    Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    If the post type is not exists, the cron will do nothing. You can just ignore it

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘CPT posts are unintentionally set to “Draft”.’ is closed to new replies.