Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   WP Theme Messing up Javascript... (https://www.warriorforum.com/programming/443811-wp-theme-messing-up-javascript.html)

garyv 2nd September 2011 01:39 AM

WP Theme Messing up Javascript...
 
I've got a wordpress plugin that will register the user via Facebook. It works fine, until I activate the theme I want to use. Then I get an error from facebook when trying to authorize.

After a few hours of pulling out my hair, I've finally figured out that theme I'm using messes up this javascript - just slightly - but enough to give me this error.

What it's doing is changing an Ampersand "&" to "&#38" which is the HTML code for an Ampersand. So it's messing up the javascript. And I have no idea what is doing it. I do know it's something in this theme, because the script works w/ other themes.

Have you ever had a similar problem? What would you suggest I look for?

Thanks.


All times are GMT -6. The time now is 09:45 AM.