[buddypress-trac] [BuddyPress Trac] #8685: Minified js and css not available
buddypress-trac
noreply at wordpress.org
Fri Apr 22 18:20:54 UTC 2022
#8685: Minified js and css not available
--------------------------+-----------------------------
Reporter: josh401 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version: 10.0.0
Severity: normal | Keywords:
--------------------------+-----------------------------
In bp-members/classes/class-bp-members/admin.php, line 682,
enqueue_scripts function
On 688, I am returning .min.
So the bp_core_get_minified_asset_suffix function is returning .min.
When this is used on lines 689 and 709, it is returning the assets as
'admin.min.css' and 'admin.min.js'; respectively.
But in the bp-members/admin/js folder, there is not an admin.min.js file.
Only an admin.js file.
Similarly, in the bp-members/admin/css folder, there is not an
admin.min.css file. Only an admin.css file.
I noticed this when I was in the admin panel, editing an extended profile
field for a user, and I was unable to change the "visible by" field.
Clicking it did not open the dropdown. I inspected the console and
noticed the two minified files were coming back as 404.
I don't know if BP is to provide these resources by default; or if
something on my end is preventing them from populating dynamically?
Thankfully, BP provides awesome filters, and in the meantime I am able to
filter the two resources, and string replace the .min from both.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8685>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list