• SANBROS

    (@sanbrosstudio)


    Hello, when I create a new file or a new page in WP Customer Area tab, I also noticed the creation of many auto-draft (empty) posts. Is this a bug? How can I fix this problem? Thanks a lot!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Vincent Mimoun-Prat

    (@vprat)

    Hi,

    We have not noticed this issue on any of our websites. Could this be a conflict with your theme or another plugin running on your site?

    Thread Starter SANBROS

    (@sanbrosstudio)

    I think it is a problem related to the generation of the permalink of the post.
    Before publish the post permalink is create dinamically:
    [url.domain]?post_type=cuar_private_page&p=1216&preview=true
    After posting the post, permalink changes in real post url:
    [url.domain]/pagine/le-mie-pagine/2019/02/23/demo
    This produces the creation of an automatic draft for each post created (private page or file in wp customer area). And it is quite annoying.

    Plugin Author Thomas

    (@tlartaud)

    Hi,

    I don’t think that this is an issue.

    WordPress is forcing us to create a draft in order to attach files to the post. We cant attach post_metas to a new post that doesn’t exist. I think that why a draft post must be created.

    Regards.

    Thread Starter SANBROS

    (@sanbrosstudio)

    Ok, that’s all right.
    But when I create (and publish) the post, auto-draft should be deleted automatically.
    Otherwise, if I create one post I will view two posts, if I create ten posts I will view twenty posts, if I create one hundred posts I will view two hundred posts, and this is absurd. At least I think so.
    Why this does not happen with normal WordPress posts?
    I repeat, according to my experience, it would be enough to remove the automatic creation of permalink dinamically before publish the post.

    Plugin Contributor Vincent Mimoun-Prat

    (@vprat)

    I agree with you @sanbrosstudio.

    What I do not understand is why WordPress is not deleting those auto-drafts automatically.

    If you have an idea, feel free to submit a pull request to our github repository.

    We are facing the same issue. This auto draft issue annoying in woocommerce sales report.

    autodraft post not deleting automatically after process completion

    And also never seen the auto draft post in admin page

    Have to manually remove the auto draft post from db every time

    Plugin Author Thomas

    (@tlartaud)

    Hi there,

    Sorry that you are facing this issue.

    Could you please check for a plugin conflict? https://wp-customerarea.com/faq/#how-to-check-if-i-have-a-conflict-with-another-plugin

    Please, note that our support forums are located here: https://wp-customerarea.com/support/
    You’ll get answers within 24 hours on this one (except on holidays & weekends of course).

    Regards.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Posts auto-draft’ is closed to new replies.