Jquery to publish all posts in draft error in post status
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.
- The topic ‘Jquery to publish all posts in draft error in post status’ is closed to new replies.