Docs: Correct the type of the $count parameter in get_usernumposts filter.
Follow-up to [8873], [26901], [36085]. Props justlevine. See #63268. Built from https://develop.svn.wordpress.org/trunk@60296 git-svn-id: http://core.svn.wordpress.org/trunk@59632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -637,7 +637,7 @@ function count_user_posts( $userid, $post_type = 'post', $public_only = false )
|
||||
* @since 4.1.0 Added `$post_type` argument.
|
||||
* @since 4.3.1 Added `$public_only` argument.
|
||||
*
|
||||
* @param int $count The user's post count.
|
||||
* @param string $count The user's post count as a numeric string.
|
||||
* @param int $userid User ID.
|
||||
* @param string|array $post_type Single post type or array of post types to count the number of posts for.
|
||||
* @param bool $public_only Whether to limit counted posts to public posts.
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.9-alpha-60295';
|
||||
$wp_version = '6.9-alpha-60296';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user