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

  1. Michael Heilemann
    Posted 12 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
    Posted 12 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
    Posted 12 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


No tags yet.