Changeset 97
- Timestamp:
- 10/26/05 01:01:18 (3 years ago)
- Files:
-
- tags/0.6RC/src/lyceum/wp-includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tags/0.6RC/src/lyceum/wp-includes/functions.php
r69 r97 169 169 function get_usernumposts($userid) { 170 170 global $wpdb, $blog; 171 return $wpdb->get_post_var("COUNT( *)", "post_author = '$userid' AND post_status = 'publish'");171 return $wpdb->get_post_var("COUNT(DISTINCT $wpdb->posts.ID)", "post_author = '$userid' AND post_status = 'publish'"); 172 172 } 173 173
