public
Created

Add Local Avatars - get_avatar filter patch for avatars.php

  • Download Gist
avatars.php.diff
Diff
1 2 3 4 5 6 7 8 9 10 11 12 13
1295,1296c1295
< $alt = 'avatar';
<
---
>
1401c1400
< $avatar = "<img src='{$src}' class='{$class} avatar-{$size} avatar-default' height='{$size}' width='{$size}' style='width: {$size}px; height: {$size}px;' alt='{$alt}' />";
---
> $avatar = "<img src='{$src}' class='{$class} avatar-{$size} avatar-default' height='{$size}' width='{$size}' style='width: {$size}px; height: {$size}px;' alt='avatar' />";
1413c1412
< return apply_filters('get_avatar', $avatar, $id_or_email, $size, $default, $alt);
---
> return apply_filters('get_avatar', $avatar, $id_or_email, $size, $default);

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.