Changeset 13576 for trunk/wp-includes/author-template.php
- Timestamp:
- 03/03/2010 07:08:30 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/author-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/author-template.php
r12699 r13576 152 152 * @since 1.5 153 153 * @uses $post The current post in the Loop's DB object. 154 * @uses get_usernumposts()154 * @uses count_user_posts() 155 155 * @return int The number of posts by the author. 156 156 */ 157 157 function get_the_author_posts() { 158 158 global $post; 159 return get_usernumposts($post->post_author);159 return count_user_posts($post->post_author); 160 160 } 161 161
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)