[wp-trac] [WordPress Trac] #31972: Discussion Settings shows always the personal avatar for HighDPI screens
WordPress Trac
noreply at wordpress.org
Tue Apr 14 17:40:35 UTC 2015
#31972: Discussion Settings shows always the personal avatar for HighDPI screens
--------------------------+-------------------------
Reporter: ocean90 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.2
Component: General | Version: trunk
Severity: normal | Keywords: needs-patch
Focuses: |
--------------------------+-------------------------
Previoulsy: [comment:ticket:21195:59]
On Discussion Settings the default Gravatar is forced via `$avatar_list .=
preg_replace("/src='(.+?)'/", "src='\$1&forcedefault=1'", $avatar);`
which doesn't match the srcset attribute added in [31721].
https://cloudup.com/cpjdZkP0IiG or
https://core.trac.wordpress.org/attachment/ticket/21195/21195.16.diff
won't work, because we don't know if the arguments work for
`get_avatar()`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31972>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list