diff --git wp-includes/user.php wp-includes/user.php
index d62e5e7..e00c7ed 100644
|
|
function wp_validate_logged_in_cookie( $user_id ) { |
278 | 278 | * @param int $userid User ID. |
279 | 279 | * @param array|string $post_type Optional. Single post type or array of post types to count the number of posts for. Default 'post'. |
280 | 280 | * @param bool $public_only Optional. Whether to only return counts for public posts. Default false. |
281 | | * @return int Number of posts the user has written in this post type. |
| 281 | * @return string Number of posts the user has written in this post type. |
282 | 282 | */ |
283 | 283 | function count_user_posts( $userid, $post_type = 'post', $public_only = false ) { |
284 | 284 | global $wpdb; |