Opened 9 years ago
Closed 9 years ago
#6337 closed defect (bug) (fixed)
Wrong image url on bp-activity-admin.php
Reported by: | lenasterg | Owned by: | r-a-y |
---|---|---|---|
Milestone: | 2.3 | Priority: | low |
Severity: | trivial | Version: | 1.6 |
Component: | Activity | Keywords: | good-first-bug has-patch |
Cc: |
Description
Hi.
I noticed that when using at multisite on activity admin page the image images/wpspin_light.gif appears broken.
This is causes by the bp_get_admin_url() function
at
https://buddypress.trac.wordpress.org/browser/trunk/src/bp-activity/bp-activity-admin.php#L1005
which is search the image at "wp-admin/network/images/" instead of the correct "wp-admin/images/" .
Suggestion fix:
Replace line https://buddypress.trac.wordpress.org/browser/trunk/src/bp-activity/bp-activity-admin.php#L1005 with the following.
<img class="waiting" style="display:none;" src="<?php echo esc_url( get_admin_url() . 'images/wpspin_light.gif' ); ?>" alt="" />
Good catch