Skip to content
Snippets Groups Projects
Commit 984136d7 authored by ale's avatar ale
Browse files

Quote another raw string

parent 3f691a89
No related branches found
No related tags found
No related merge requests found
Pipeline #43448 passed
......@@ -27,10 +27,10 @@
<?php foreach ($comments as $comment) : ?>
<li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">
<div class="photo"><?php if (function_exists('get_avatar') ) { echo get_avatar( get_the_author_email( ), 32, get_bloginfo(template_directory) .'/img/user.gif' );
<div class="photo"><?php if (function_exists('get_avatar') ) { echo get_avatar( get_the_author_email( ), 32, get_bloginfo('template_directory') .'/img/user.gif' );
} elseif ( !empty( $comment->comment_author_email ) ) {
$md5 = md5( $comment->comment_author_email );
$d_blank = urlencode( get_bloginfo(template_directory) .'/img/user.gif' );
$d_blank = urlencode( get_bloginfo('template_directory') .'/img/user.gif' );
echo "<img alt='avatar' title='photo' src='http://www.gravatar.com/avatar.php?gravatar_id=$md5&amp;size=32&amp;rating=X&amp;default=$d_blank' />";
} ?></div>
<cite><?php comment_author_link() ?></cite> Says:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment