Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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.

share|improve this question
    
I can post that text in a comment just fine "as is", no wrapping HTML.. –  t31os Dec 16 '10 at 17:48
    
me too; can you post a link to the page on which this is happening? –  onetrickpony Dec 16 '10 at 17:56
add comment

1 Answer

Sorry guys!

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

Thanks ayway.

share|improve this answer
    
I just wanted to comment that this might be caused by some "security" plugin. –  hakre Dec 17 '10 at 12:07
    
that's a pretty bad plugin if it resorts to such actions to block spam or hack attempts... –  onetrickpony Dec 17 '10 at 13:35
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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