[buddypress-trac] [BuddyPress Trac] #5355: Filtering classes added in bp_core_fetch_avatar()

buddypress-trac noreply at wordpress.org
Thu Mar 20 23:59:37 UTC 2014

#5355: Filtering classes added in bp_core_fetch_avatar()
 Reporter:  henry.wright  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Core          |     Version:  1.9.1
 Severity:  normal        |  Resolution:
 Keywords:                |

Comment (by imath):

 Hi henry.wright

 I think there's a reason why these classes are there: see #4503
 For instance long time ago i've built a script that was using the class
 {{{user-[user_id]-avatar}}} to load a customized hovercard. I guess some
 plugins are expecting these classes, so i would advise you to leave them.

 You may have seen, you can add new classes using the filter
 {{{bp_core_avatar_class}}}, a possible way to ease your need to remove the
 targeted classes would be to move this filter under the line you're
 mentioning. But i'm not sure it's a good idea, i'd like to have other core
 team member's opinion about it.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5355#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list