I was trying to add the following SQL source code to a comment:

DELETE a,b,c FROM wp_posts a
LEFT JOIN wp_term_relationships b ON (a.ID = b.object_id)
LEFT JOIN wp_postmeta c ON (a.ID = c.post_id)
WHERE a.post_type = 'revision'

and tried this approaches:

  • posted by using the backoffice
  • used Source Code in Comments Plugin with the code brackets
  • and the <code> tags
  • through Postable (www.elliotswan.com/postable) first

It always redirect to the homepage.

Can anyone help me? Thanks in advance.

  • I can post that text in a comment just fine "as is", no wrapping HTML..
    – t31os
    Commented Dec 16, 2010 at 17:48
  • me too; can you post a link to the page on which this is happening? Commented Dec 16, 2010 at 17:56

1 Answer 1


Sorry guys!

The problem was with the configurations in the WordPress plugin Firewall 2...it was blocking the submission.

Thanks ayway.

  • I just wanted to comment that this might be caused by some "security" plugin.
    – hakre
    Commented Dec 17, 2010 at 12:07
  • that's a pretty bad plugin if it resorts to such actions to block spam or hack attempts... Commented Dec 17, 2010 at 13:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.