[buddypress-trac] [BuddyPress] #2219: in bp-core/bp-core-templatetags.php - bp_get_signup_avatar passes two differently formatted img strings

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri Mar 19 22:11:50 UTC 2010


#2219: in bp-core/bp-core-templatetags.php - bp_get_signup_avatar passes two
differently formatted img strings
----------------------+-----------------------------------------------------
 Reporter:  transom   |       Owner:                                
     Type:  defect    |      Status:  new                           
 Priority:  major     |   Milestone:  1.2.3                         
Component:  Activity  |    Keywords:  avatar, templatetags, gravatar
----------------------+-----------------------------------------------------
 on lines 1204/1206

 there is apply_filters('bp_get_signup_avatar', "<img....")

 on line 1204 - the filter closes in the middle of the img tag (with the
 size, alt tags outside the filter)

 on line 1206 - the filter uses be_core_fetch_avatar as the element being
 filters (a complete img tag)

 This makes it harder than it has to be to operate on the filter. Moving
 the right paren of the filter on line 1204 to the end should be the
 equivalent operation

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2219>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list