Menu Home

Stop spammers commenting on WordPress media files

man wearing brown suit jacket mocking on white telephone

A website I worked on last year, recently had a wave of media spam comments hit my inbox. There is no easy way within WordPress to turn off commenting for media items, especially if you have >100 items and just want it DONE! The solution I found was a quick SQL query: