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.

Edit: Problem Solved, solution posted at bottom

I'm going crazy trying to figure out why this is happening.

This is well known issue, and I've done everything recommended so far.

I'm using php version 5.3 and magic quotes are off.

This issue only occurs when using the plugin wp_blocks, so I'm assuming there is something in the code that is making this happen.

Any ideas?

I'm currently sifting through the plugin to see if there is anything that would force this behavior.

Of note is that if I insert the html entity ''' and then save and go back into the html (I use ultimate tinyMCE, which has a nice highlighted syntax editor, but this also occured before isntalling that plugin), it will replace all of ''' with apostrophes.

Solution

The plugin used only a wordpress function called wp_kses_stripslashes, which only works on double quotes apparently. I simply further processed the passed data through stripslashes and voila.

share|improve this question
2  
You should add make the solution an answer and accept it so the question closes. –  fdsa Jun 21 '12 at 18:55
    
Sorry, last time I was on it was too soon to answer my own question. –  Squadrons Jul 9 '12 at 17:12
add comment

1 Answer

up vote 0 down vote accepted

Solution

The plugin used only a wordpress function called wp_kses_stripslashes, which only works on double quotes apparently. I simply further processed the passed data through stripslashes and voila.

share|improve this answer
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.