1.3.3 breaks names on comments (makes them all “Anonymous”)
-
The plug-in now redirects
get_comment_author_link
toget_comment_author
, which results inget_comment_author
being called with the actual proposed HTML of the author element, which is of course not a valid comment ID and therefore “Anonymous” is returned. That then gets used as the comment author.Example backtrace:
#0 wp-includes/class-wp-hook.php(326): get_comment_author() #1 wp-includes/plugin.php(205): WP_Hook->apply_filters() #2 wp-includes/comment-template.php(290): apply_filters() #3 wp-content/themes/generatepress/inc/structure/comments.php(43): get_comment_author_link() #4 wp-includes/class-walker-comment.php(183): generate_comment() #5 wp-includes/class-wp-walker.php(147): Walker_Comment->start_el() #6 wp-includes/class-walker-comment.php(139): Walker->display_element() #7 wp-includes/class-wp-walker.php(159): Walker_Comment->display_element() #8 wp-includes/class-walker-comment.php(139): Walker->display_element() #9 wp-includes/class-wp-walker.php(390): Walker_Comment->display_element() #10 wp-includes/comment-template.php(2400): Walker->paged_walk() #11 wp-content/themes/generatepress/comments.php(99): wp_list_comments() #12 wp-includes/comment-template.php(1627): require('...') #13 wp-content/themes/generatepress/inc/structure/comments.php(227): comments_template() #14 wp-includes/class-wp-hook.php(324): generate_do_comments_template() #15 wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #16 wp-includes/plugin.php(517): WP_Hook->do_action() #17 wp-content/themes/generatepress/inc/theme-functions.php(578): do_action() #18 wp-content/themes/generatepress/single.php(29): generate_do_template_part() #19 wp-includes/template-loader.php(106): include('...') #20 wp-blog-header.php(19): require_once('...') #21 index.php(17): require('...') #22 {main}
I don’t understand why it’s mucking with comment authors to begin with – they have no connection to post author archives (the hyperlink used for the comment author name is merely their website, if they provided one – even for logged in users).
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘1.3.3 breaks names on comments (makes them all “Anonymous”)’ is closed to new replies.