Deleting pending comments on wp blog

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • beks001
    Confirmed User
    • Oct 2006
    • 1837

    #1

    Deleting pending comments on wp blog

    Is there an easier way to delete all my pending comments besides in the wp admin area? I have like 2k comments pending. Need to wipe em out faster than 20 at a time.
    [B]341 people reviewed this!?!?!

    Blogging Thread!


    Teen Cams


    Gay Webcam

    Best Free File Storage
  • fris
    Too lazy to set a custom title
    • Aug 2002
    • 55700

    #2
    Code:
    DELETE FROM wp_comments WHERE comment_approved=0
    via mysql command
    Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

    Comment

    • SuziQT
      Confirmed User
      • Nov 2003
      • 167

      #3
      Also, if you are not comfortable with fris's solution, you can change the amount of comments that appear under "Screen Options". The default is 20 but I have mine set to 100.

      Comment

      • papill0n
        Unregistered Abuser
        • Oct 2007
        • 15547

        #4
        or you can just use the 'delete pending comments' plugin
        http://wordpress.org/extend/plugins/...ding-comments/

        Comment

        • fris
          Too lazy to set a custom title
          • Aug 2002
          • 55700

          #5
          also a plugin exists do delete them all

          http://wordpress.org/extend/plugins/...omment-remove/
          Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

          Comment

          • Colmike9
            (>^_^)b
            • Dec 2011
            • 7230

            #6
            Either use Akismet's 'delete all' button if you use that, setting the max in screen options or this in phpMyAdmin but always back up your database before doing it:

            DELETE FROM wp_comments WHERE comment_approved = 0

            Note: If your comments table is prefixed with wp_something will need to use the correct table name.
            Join the BEST cam affiliate program on the internet!
            I've referred over $1.7mil in spending this past year, you should join in.
            I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..

            Comment

            • Colmike9
              (>^_^)b
              • Dec 2011
              • 7230

              #7
              Originally posted by fris
              also a plugin exists do delete them all

              http://wordpress.org/extend/plugins/...omment-remove/
              That too
              Join the BEST cam affiliate program on the internet!
              I've referred over $1.7mil in spending this past year, you should join in.
              I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..

              Comment

              • beks001
                Confirmed User
                • Oct 2006
                • 1837

                #8
                Originally posted by fris
                Code:
                delete from wp_comments where comment_approved=0
                via mysql command
                Originally posted by suziqt
                also, if you are not comfortable with fris's solution, you can change the amount of comments that appear under "screen options". The default is 20 but i have mine set to 100.
                Originally posted by papill0n
                or you can just use the 'delete pending comments' plugin
                http://wordpress.org/extend/plugins/...ding-comments/
                Originally posted by colmike7
                either use akismet's 'delete all' button if you use that, setting the max in screen options or this in phpmyadmin but always back up your database before doing it:

                Delete from wp_comments where comment_approved = 0

                note: If your comments table is prefixed with wp_something will need to use the correct table name.

                thank you all!
                [B]341 people reviewed this!?!?!

                Blogging Thread!


                Teen Cams


                Gay Webcam

                Best Free File Storage

                Comment

                Working...