Created
November 8, 2012 13:54
-
-
Save vicchi/4038938 to your computer and use it in GitHub Desktop.
Add Local Avatars - get_avatar filter patch for avatars.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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