Changeset 4934 for trunk/wp-includes/comment-template.php
- Timestamp:
- 02/24/2007 07:33:29 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment-template.php
r4886 r4934 291 291 } 292 292 293 $comments = apply_filters( 'comments_array', $comments, $post->ID ); 293 // keep $comments for legacy's sake (remember $table*? ;) ) 294 $comments = $wp_query->comments = apply_filters( 'comments_array', $comments, $post->ID ); 295 $wp_query->comment_count = count($wp_query->comments); 294 296 295 297 define('COMMENTS_TEMPLATE', true);
Note: See TracChangeset
for help on using the changeset viewer.