Closed Thread
Thread Tools Search this Thread
Unread 2nd Sep 2011, 01:39 AM   #1
VIP Warrior
War Room Member
 
garyv's Avatar
 
Join Date: 2006
Location: Chicago
Posts: 1,617
Thanks: 1,283
Thanked 1,999 Times in 1,002 Posts
Default
WP Theme Messing up Javascript...
Share on: 
fb share twitter share gplus share more share

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.
garyv is offline  
Closed Thread


Bookmarks

Tags
javascript, messing, theme

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 11:51 AM.