jQuery x BuddyPress incompatibility causes problems
-
Hi guys,
Working on this issue for like 8 straight hours and I finally found the problem but I still can’t fix it.
In my theme I use:
wp_deregister_script('jquery');
And load jQuery myself:
wp_enqueue_script('jquery', '//ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js', false, '1.0', null);
Scripts are loaded correctly: (screenshot) https://pixelheads.d.pr/qB0nKV
But it causes many problems. For example, when I press the “Add friend” button, the whole page (HTML) is loaded in the div.friendship-button element. No idea why.
All help appreciated.
Thanks in advance.
Justin
- You must be logged in to reply to this topic.