Jquery to publish all posts in draft error in post status (1 post)

  1. pubesonmysack
    Posted 3 years ago #

    Used the followin code to publish all posts in phpmyadmin

    UPDATE wp_posts SET post_status = 'publish' WHERE post_status = 'draft';

    Now posts go under published, but posts receive no published dates and say Unpublished and Published under post status.

    Now when I update each posts, they receive a publish date and no more error. Anyone know what I can do to fix or prevent this error when publishing using this jquery.

Topic Closed

This topic has been closed to new replies.

About this Topic