[wp-hackers] Cannot stop comments from being posted

Mike Little wordpress at zed1.com
Thu May 9 14:32:33 UTC 2013

On 9 May 2013 15:12, Patty Ayers <patty at ayersvirtual.com> wrote:

> On Thu, May 9, 2013 at 9:16 AM, Dwain Maralack <dwain.maralack at gmail.com
> >wrote:
> > There is actually a plugin that does this all for you:
> >
> > http://wordpress.org/extend/plugins/disable-comments/
> >
> Thank you, Dwain. It's looking like the problem is the theme. Some useful
> information on that plugin's page:
> "Unfortunately some themes do not properly check the comment status of
> posts..."
> "Nothing happens after I disable comments on all posts - comment forms
> still appear when I view my posts. This is because your theme is not
> checking the comment status of posts in the correct way..."
Whether a comment form appears or not is related to the theme, but if
comments are disabled on a post, even though the theme may show the comment
form, WordPress should not accept the comment submission.

In fact, the comment spamming scripts, don't even go through your theme's
form, they submit directly to WordPress' comment handler.

You should be able to tell whether your theme is doing the right thing. If
you look at a page/post with comments disabled, does your theme show a
comment form? If not, there is nothing wrong with your theme.

Mike Little
*WordPress Specialist*

Web: mikelittle.org
Skype: mike.little.zed1
Twitter: @mikelittlezed1
LinkedIn: linkedin.com/in/mikelittle

Founder and Director
*Zed1.com Limited*
Registered in England & Wales, no. 6745562

More information about the wp-hackers mailing list