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:
David Arranz 2012-10-10 17:17:10 +00:00
parent 846e05f727
commit bd39132874
2 changed files with 744 additions and 746 deletions

View File

@ -892,9 +892,7 @@ function comments_template( $file = '/comments.php', $separate_comments = false
// keep $comments for legacy's sake // keep $comments for legacy's sake
$wp_query->comments = apply_filters( 'comments_array', $comments, $post->ID ); $wp_query->comments = apply_filters( 'comments_array', $comments, $post->ID );
$comments = &$wp_query->comments; $comments = &$wp_query->comments;
$wp_query->comment_count = count($wp_query->comments); $wp_query->comment_count = count($wp_query->comments);
update_comment_cache($wp_query->comments); update_comment_cache($wp_query->comments);