WordPress.org

Ready to get started?Download WordPress

Forums

Chrome showing wrong posts and SQL different (1 post)

  1. chrishoward
    Member
    Posted 2 years ago #

    Chrome is showing different posts to Safari, Opera and Firefox.

    Have tried different themes and changing the permalinks.

    Did a $wp_query dump from the Twenty Eleven theme and this is the SQL, with the difference bolded:

    Safari, Opera, Firefox:
    SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.post_type = 'post' AND (wp_posts.post_status = 'publish') ORDER BY wp_posts.post_date DESC LIMIT 0, 10

    Chrome:
    SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.post_type = 'post' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'private') ORDER BY wp_posts.post_date DESC LIMIT 0, 10

    This returns quite a different set of posts.

    Anyone encountered this? Anyone have a solution?

Topic Closed

This topic has been closed to new replies.

About this Topic