[buddypress-trac] [BuddyPress] #3804: bp_core_fetch_avatar() doesn't respect 'alt'; we should be passing 'alt' and 'title' where possible

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Dec 7 02:20:13 UTC 2011


#3804: bp_core_fetch_avatar() doesn't respect 'alt'; we should be passing 'alt'
and 'title' where possible
--------------------------+--------------------------
 Reporter:  boonebgorges  |      Owner:  boonebgorges
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  1.6
Component:  Core          |    Version:
 Severity:  normal        |   Keywords:
--------------------------+--------------------------
 Our directory templates are horrendously inefficient when it comes to
 displaying avatars. We don't pass 'alt' or 'title' to
 bp_core_fetch_avatar() (at least in the groups loop), which means that
 bp_core_fetch_avatar() has to pull up the group object, which means 10
 extra queries a page. We already have the necessary information in the
 groups_template, which should be passed along.

 Second, there is a problem in the bp_core_fetch_avatar() logic, so that
 'alt' params won't be respected anyway. I'll fix both of these at the same
 time.

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


More information about the buddypress-trac mailing list