[buddypress-trac] [BuddyPress] #4948: bp_core_avatar_url() wonky in sub-sites since WP 3.5

buddypress-trac noreply at wordpress.org
Mon Apr 29 08:48:57 UTC 2013


#4948: bp_core_avatar_url() wonky in sub-sites since WP 3.5
----------------------------------------+--------------------
 Reporter:  r-a-y                       |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  1.7.1
Component:  Core                        |     Version:  1.6.4
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |
----------------------------------------+--------------------

Comment (by DJPaul):

 If the WP core unit tests don't handle a multisite situation correctly,
 guess where I think the fix should go ;)

 > The other problem is BP avatar's reliance on constants like
 BP_AVATAR_URL and BP_AVATAR_UPLOAD_PATH as a fallback.

 Let's introduce wrapper functions for these settings in 1.8, and deprecate
 direct use of the constant. For the unit tests, we can then add/use a
 filter.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4948#comment:6>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list