Cambios hechos por Fernando
git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@184 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6
This commit is contained in:
parent
846e05f727
commit
bd39132874
@ -892,9 +892,7 @@ function comments_template( $file = '/comments.php', $separate_comments = false
|
||||
|
||||
// keep $comments for legacy's sake
|
||||
$wp_query->comments = apply_filters( 'comments_array', $comments, $post->ID );
|
||||
|
||||
$comments = &$wp_query->comments;
|
||||
|
||||
$wp_query->comment_count = count($wp_query->comments);
|
||||
update_comment_cache($wp_query->comments);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user