Skip to content

@vicchi /avatars.php.diff
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Add Local Avatars - get_avatar filter patch for avatars.php
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);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.