[buddypress-trac] [BuddyPress Trac] #7764: BP Nouveau: Remove `px` units from image width and height attributes

buddypress-trac noreply at wordpress.org
Sun Apr 22 16:17:11 UTC 2018


#7764: BP Nouveau: Remove `px` units from image width and height attributes
--------------------------+--------------------
 Reporter:  mercime       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  3.0
Component:  Templates     |    Version:
 Severity:  normal        |   Keywords:
--------------------------+--------------------
 BP Nouveau's Activity Widget includes avatar of member cited in the
 blockquote shown below. Image width and height attritubes already return
 the rendered width and height of the image in CSS pixels by default in all
 browsers.

 Change:
 {{{
 <img src="//www.gravatar.com/avatar/secret?s=40px&r=g&d=blank"
 class="avatar user-1-avatar avatar-40px photo" width="40px" height="40px"
 alt="Profile picture of admin">
 }}}

 To
 {{{
 <img src="//www.gravatar.com/avatar/secret?s=40px&r=g&d=blank"
 class="avatar user-1-avatar avatar-40px photo" width="40" height="40"
 alt="Profile picture of admin">
 }}}


 Patch coming up.

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


More information about the buddypress-trac mailing list