Changeset 389
- Timestamp:
- Sep 27, 2009, 8:46:05 PM (15 years ago)
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Ver2.1/xpressme_integration_kit/wp-content/plugins/xpressme/include/xpress_common_functions.php
r374 r389 231 231 function xpress_comment_count( $count ) { 232 232 global $id; 233 $comments_by_type = &separate_comments(get_comments('status=approve&post_id=' . $id)); 233 $post_comments =get_comments('status=approve&post_id=' . $id); 234 $comments_by_type = &separate_comments($post_comments); 234 235 return count($comments_by_type['comment']); 235 236 } -
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/xpress_common_functions.php
r360 r389 231 231 function xpress_comment_count( $count ) { 232 232 global $id; 233 $comments_by_type = &separate_comments(get_comments('status=approve&post_id=' . $id)); 233 $post_comments =get_comments('status=approve&post_id=' . $id); 234 $comments_by_type = &separate_comments($post_comments); 234 235 return count($comments_by_type['comment']); 235 236 }
Note: See TracChangeset
for help on using the changeset viewer.