• Resolved manni123

    (@manni123)


    I am facing problem on published post on WordPress 3.9.2. When I have add new post and publish then after few hours post will be moved to Draft.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Is it constant problem? May be just your random wrong action.

    Thread Starter manni123

    (@manni123)

    thanks for reply john .but i can not understand what do want to you say.

    Maybe you accidentally moved a post in draft.
    How did this happen?

    Thread Starter manni123

    (@manni123)

    i don’t know what happen.please you can see it.i have share team viewer with you john .?

    Teamviewer is a useless tool in this situation. Do you have plugins on website?

    Try create other post and watch what happen. And write domain for your website.

    Thread Starter manni123

    (@manni123)

    I solve the issue .I use wp-query in theme file.
    global $wpdb;
    $sql = “UPDATE {$wpdb->posts} SET post_status = ‘publish’ WHERE post_type = ‘$post_type’ and post_status = ‘draft'”;
    $wpdb->query($sql);

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Publish post move draft after one day’ is closed to new replies.