[buddypress-trac] [BuddyPress Trac] #8679: Only load template pack JS & CSS assets when needed

buddypress-trac noreply at wordpress.org
Sat Jun 4 11:15:24 UTC 2022


#8679: Only load template pack JS & CSS assets when needed
-------------------------------------+-----------------------
 Reporter:  imath                    |       Owner:  imath
     Type:  defect (bug)             |      Status:  assigned
 Priority:  high                     |   Milestone:  11.0.0
Component:  Templates                |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+-----------------------
Changes (by imath):

 * keywords:  needs-patch => has-patch needs-testing


Comment:

 The above path is introducing the `bp_enqueue_community_scripts` action
 hook which is only fired when `is_buddypress()`. It seems to be enough..
 But I believe it needs more testing especially with legacy widgets...

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


More information about the buddypress-trac mailing list