Stop Media Comment Spamming


If you find your media file attachments are being targeted by spam comments then here is the solution for you.

Stop Media Comment Spamming removes the ability for visitors to comment on media attachments. It does not remove commenting from any other part of your WordPress installation.

Visitors will still be able to comment on your posts and pages.

Why would you need this plugin?

WordPress natively allows comments to be left on any file in the Media Library.

Unfortunately spammers can target this and quickly leave horrible and unrelated comments on your site.

WordPress provides no way in Admin Dashboard to disable this feature.

Some of the spam seems to get through popular spam filtering plugins.

You still want to allow visitors to comments on your posts and pages.

If only there was a plugin that allowed you to stop visitors leaving comments on media files.

Ta da! Here’s one.

Página Web del Plugin

Stop Media Comment Spamming


  • Before the plugin. Comments on attachments are open.
  • After plugin has been activated. Comments on attachments disappear.


  1. Download the plugin zip file & unzip it
  2. Copy the folder stop-media-comment-spamming into the directory /wp-content/plugins/
  3. Activa el plugin en menú ‘Plugins’ de WordPress

Your media library file attachments now have their comments disabled.

No more spam for those.


Does the plugin do anything else?



10 de febrero de 2019
It just does what it says. It beats me why this is not part of WordPress core. I install this plugin on every site I develop.
24 de febrero de 2017 1 respuesta
I uploaded a bunch of media in a new site before I remembered to turn comments off. I installed and activated this plugin and voila - all media pages now have comments disabled. Thank you.
Leer todas las 6 reseñas

Colaboradores y desarrolladores

«Stop Media Comment Spamming» es un software de código abierto. Las siguientes personas han colaborado con este plugin.


Traduce «Stop Media Comment Spamming» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios


  • Tested on WordPress 6.0


  • Tested on WordPress 5.6


  • Tested on WordPress 5.0.3


  • Moved to minor release versioning (added extra .0)
  • Tested on WordPress 4.8.1
  • Added Requires PHP tag
  • Renamed lc_ function prefix to zpd_


  • Checked compatibility with WordPress 4.7


  • Checked compatibility with WordPress 4.5.2


  • Checked compatibility with WordPress 4.4
  • Changed contributor to DeveloperWil
  • Removed closing PHP tag at end of main file


  • Checked compatibility with WordPress 4.3


  • Checked compatibility with WordPress 4.1


  • Checked compatibility with WordPress 4.0
  • Bug fix for PHP object error


  • Corrected some typos


  • Versión inicial.