Skip to content
Snippets Groups Projects
Commit 5b95a044 authored by lechuck's avatar lechuck
Browse files

modify wordpress-ai-privacy plugin to generate gravatar url

parent 8151259d
No related branches found
No related tags found
No related merge requests found
wp-content/plugins/wordpress-ai-privacy-plugin/images/mystery-man-50.jpg

1.39 KiB

......@@ -51,7 +51,7 @@ function get_avatar( $id_or_email, $size = '96', $default = '', $alt = false ) {
if ( 'mystery' == $default )
$default = "http://noblogs.org/wp-content/plugins/buddypress/bp-core/images/mystery-man-50.jpg";
$default = plugins_url( 'images/mystery-man-50.jpg' , __FILE__ )
elseif ( 'blank' == $default )
$default = includes_url('images/blank.gif');
$avatar = "<img alt='{$safe_alt}' src='{$default}' class='avatar' height='{$size}' width='{$size}' />";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment