From 648e37c482eb0ea435659effdaf59a07b1b3c077 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 10 Jun 2025 12:54:30 +0000 Subject: [PATCH] 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 --- wp-includes/user.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/user.php b/wp-includes/user.php index 083de80304..4dacf58628 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -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. diff --git a/wp-includes/version.php b/wp-includes/version.php index 9878d49a36..0609cb7afd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.