Title: Speck's Replies | WordPress.org

---

# Speck

  [  ](https://wordpress.org/support/users/speck/)

 *   [Profile](https://wordpress.org/support/users/speck/)
 *   [Topics Started](https://wordpress.org/support/users/speck/topics/)
 *   [Replies Created](https://wordpress.org/support/users/speck/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/speck/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/speck/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/speck/engagements/)
 *   [Favorites](https://wordpress.org/support/users/speck/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Unknown column ‘publish’ in ‘where clause’](https://wordpress.org/support/topic/unknown-column-publish-in-where-clause/)
 *  Thread Starter [Speck](https://wordpress.org/support/users/speck/)
 * (@speck)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/unknown-column-publish-in-where-clause/#post-118332)
 * I figured it out myself — suppose I shoulda wrestled with the code a bit before
   I posted…
    Anyway, if anyone else has this problem, I replaced this code in line
   442 of **wp-blog-header.php**… `$where .= ' AND (post_status = "publish"';` …
   with… `$where .= " AND (post_status = 'publish'";` I know nothing about PHP —
   this is the first I’ve ever worked with it — so I don’t know what exactly this
   does… But I do know everything’s workin’ as it should be…

Viewing 1 replies (of 1 total)