[buddypress-trac] [BuddyPress] #2606: Improve avatar HTML alt tag. And add title parameter.

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat Aug 28 05:44:15 UTC 2010


#2606: Improve avatar HTML alt tag. And add title parameter.
--------------------+-------------------------------------------------------
 Reporter:  DJPaul  |       Owner:           
     Type:  defect  |      Status:  new      
 Priority:  normal  |   Milestone:  1.3      
Component:  Core    |    Keywords:  has-patch
--------------------+-------------------------------------------------------

Comment(by r-a-y):

 Great first patch, Paul.

 I've repatched it to:
 -add "alt" tags for avatars in bp-forums-templatetags.php
 -removed esc_attr() for "bp_core_avatar_alt" and the filters as the
 respective components already apply wptexturize(), wp_filter_kses(), etc.
 -removed "'blog' == $object" from "alt" attribute conditional, since blog
 avatars do not currently exist
 -cleaned up some of the "alt" attribute strings

 Let me know what you think.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2606#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list