WordPress.org

Ready to get started?Download WordPress

Forums

SQL query for turning on all comments again? (3 posts)

  1. Michael Heilemann
    Member
    Posted 10 years ago #

    I had a hack that turned off comments for entries when they fell off the frontpage. Now I no longer have that hack, and I would like to turn on all comments. Can someone help me with a quick SQL query?

  2. Laughinglizard
    Member
    Posted 10 years ago #

    UPDATE b2posts SET comment_status = 'open';
    Where b2posts is the name of your posts table, it could also be wp-posts etc.

  3. faewench
    Member
    Posted 10 years ago #

    can you do the same thing for jsut one category?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.