mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Avoid 'Only variables should be assigned by reference' warning. Props wonderboymusic. see #21865
git-svn-id: https://develop.svn.wordpress.org/trunk@22114 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -894,7 +894,7 @@ function comments_template( $file = '/comments.php', $separate_comments = false
|
||||
update_comment_cache($wp_query->comments);
|
||||
|
||||
if ( $separate_comments ) {
|
||||
$wp_query->comments_by_type = &separate_comments($comments);
|
||||
$wp_query->comments_by_type = separate_comments($comments);
|
||||
$comments_by_type = &$wp_query->comments_by_type;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user