WP Theme Messing up Javascript...

by garyv
0 replies
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.
#javascript #messing #theme

Trending Topics