Bugfix: Comment author not correctly linked
-
I don’t know if this is the correct place to report bugfixes for the p2theme.
The function p2_get_discussion_links uses the author name for building the link to the posts of a commenting author, instead of the login name.template-tags.php line 113 should be changed from:
$content .= ‘comment_author ) ) . ‘”>’ . esc_attr( $comment->comment_author ) . ‘‘;
to
$user_info = get_userdata($comment->user_id);
$content .= ‘user_login ) ) . ‘”>’ . esc_attr( $comment->comment_author ) . ‘‘;
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Bugfix: Comment author not correctly linked’ is closed to new replies.