[buddypress-trac] [BuddyPress Trac] #5963: buddypress.min.js missing in legacy lookup at locate_asset_in_stack

buddypress-trac noreply at wordpress.org
Sun Oct 26 23:36:46 UTC 2014


#5963: buddypress.min.js missing in legacy lookup at locate_asset_in_stack
---------------------------+-----------------------------
 Reporter:  nofearinc      |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Template Pack  |    Version:
 Severity:  normal         |   Keywords:  has-patch
---------------------------+-----------------------------
 Installing latest BuddyPress from trunk with the twentyfourteen theme
 tries to load `buddypress.min.js` at `locate_asset_in_stack`. Since I
 don't use a BuddyPress compatible theme, it's trying to load the minified
 script from `bp-legacy` while only the full script is available there.

 This leads to notices in the `enqueue_scripts` function when
 $asset['location'] and $asset['handle'] are expected for the file load.

 The patch is stripping the '.min' part when searching in bp-legacy.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5963>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list