[buddypress-trac] [BuddyPress] #5209: enqueue bp_core_confirmation_js

buddypress-trac noreply at wordpress.org
Tue Oct 22 13:37:59 UTC 2013


#5209: enqueue bp_core_confirmation_js
--------------------------+-----------------------------
 Reporter:  bassjobsen    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:  1.8.1
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 ./buddypress/bp-core/bp-core-cssjs.php sets add_action( 'wp_head',
 bp_core_confirmation_js', 100 ); where bp_core_confirmation_js add
 javascript to the head which depends on jquery. This code should be
 enqueued with wp_enqueue_script() to set the jquery dependency.
 Localization can be add with: wp_localize_script().

 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/5209>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list