• SELECT * FROM wp15_posts WHERE 1=1 AND (post_status = “publish” OR post_author = 1 AND post_status != ‘draft’ AND post_status != ‘static’) GROUP BY wp15_posts.ID ORDER BY post_date DESC LIMIT 0, 15

    Wth…???

Viewing 1 replies (of 1 total)
  • The “WHERE 1=1” portion has me a little confused. I think that’s supposed to be something else.

    Regards

Viewing 1 replies (of 1 total)

The topic ‘ALL POSTS MISSING!’ is closed to new replies.