[buddypress-trac] [BuddyPress Trac] #6337: Wrong image url on bp-activity-admin.php

buddypress-trac noreply at wordpress.org
Wed Apr 1 07:53:01 UTC 2015


#6337: Wrong image url on bp-activity-admin.php
----------------------------------+-----------------------------
 Reporter:  lenasterg             |      Owner:
     Type:  defect (bug)          |     Status:  new
 Priority:  low                   |  Milestone:  Awaiting Review
Component:  Component - Activity  |    Version:  2.2.1
 Severity:  trivial               |   Keywords:
----------------------------------+-----------------------------
 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="" />
 }}}

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


More information about the buddypress-trac mailing list