Changeset 147 for trunk/wp-content/plugins/xpressme/include
- Timestamp:
- Apr 1, 2009, 11:05:02 PM (16 years ago)
- Location:
- trunk/wp-content/plugins/xpressme/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/plugins/xpressme/include/custom_functions.php
r145 r147 1 1 <?php 2 3 function xpress_list_pings($comment, $args, $depth) { 4 $GLOBALS['comment'] = $comment; 5 echo '<li id="comment-<?php comment_ID(); ?>">'; 6 comment_author_link(); 7 } 2 8 3 9 function xpress_credit($show = false) -
trunk/wp-content/plugins/xpressme/include/xpress_common_functions.php
r145 r147 229 229 } 230 230 231 function xpress_comment_count( $count ) { 232 global $id; 233 $comments_by_type = &separate_comments(get_comments('status=approve&post_id=' . $id)); 234 return count($comments_by_type['comment']); 235 } 231 236 232 237 ?>
Note: See TracChangeset
for help on using the changeset viewer.