[buddypress-trac] [BuddyPress Trac] #5343: wrong implementation of bp_group_current_avatar causes display error

buddypress-trac noreply at wordpress.org
Sun Jan 19 18:50:22 UTC 2014


#5343: wrong implementation of bp_group_current_avatar causes display error
-----------------------------------------+------------------
 Reporter:  plocha                       |       Owner:
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:  2.0
Component:  Groups                       |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |
-----------------------------------------+------------------

Comment (by imath):

 Replying to [comment:6 boonebgorges]:
 > Possibly, but it looks like your patch wouldn't break them. By removing
 reference to the non-existent none.gif, it would *fix* them, right?
 Yes. The real problem as mentioned @plocha was that
 {{{$bp->bp_options_nav}}} is using bp_group_current_avatar(). In the
 patch, i don't use it to instead use the default avatar. As if we end up
 here, then the group avatar was not found.

 Then if bp_group_current_avatar() is used, it will output the avatar or
 nothing but no more the none.gif ;)

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


More information about the buddypress-trac mailing list