[buddypress-trac] [BuddyPress Trac] #5889: JS in bp_core_register_common_scripts() needs to be enqueued

buddypress-trac noreply at wordpress.org
Fri Sep 19 17:56:27 UTC 2014


#5889: JS in bp_core_register_common_scripts() needs to be enqueued
--------------------------+--------------------
 Reporter:  r-a-y         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.1.1
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------

Comment (by DJPaul):

 I don't think this is the right fix. These were moved here explicitly so
 we can register all our core scripts in one place. If some part of BP
 needs to use one of these, then wp_enqueue_script should be used in that
 place, rather than load all of them all of the time.

 If BP-Default is not enqueuing its script requirements correctly, the fix
 needs to be in bp-default, not here.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5889#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list