[buddypress-trac] [BuddyPress] #5208: enqueues buddypress.js
buddypress-trac
noreply at wordpress.org
Tue Oct 22 13:36:32 UTC 2013
#5208: enqueues buddypress.js
--------------------------+-----------------------------
Reporter: bassjobsen | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version: 1.8.1
Severity: normal | Keywords:
--------------------------+-----------------------------
in bp-templates/buddypress-legacy/buddypress-functions.php the function
enqueue_scripts() enqueues buddypress.js. buddypress.js not only depends
on jquery but also on jquery-cookie.
Set the $deps Array of the handles in the wp_enqueue_script() call to
array('jquery','jquery-cookie') will fix this.
Thanks for your attention. I will need this fixes to get WP Defer Loading
work with BuddyPress, see: https://github.com/bassjobsen/wp-defer-
loading/issues/4
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5208>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list