Changeset 389 for trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/xpress_common_functions.php
- Timestamp:
- Sep 27, 2009, 8:46:05 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.