Make WordPress Core

Changeset 60296


Ignore:
Timestamp:
06/10/2025 12:52:46 PM (5 weeks ago)
Author:
SergeyBiryukov
Message:

Docs: Correct the type of the $count parameter in get_usernumposts filter.

Follow-up to [8873], [26901], [36085].

Props justlevine.
See #63268.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/user.php

    r60288 r60296  
    638638     * @since 4.3.1 Added `$public_only` argument.
    639639     *
    640      * @param int          $count       The user's post count.
     640     * @param string       $count       The user's post count as a numeric string.
    641641     * @param int          $userid      User ID.
    642642     * @param string|array $post_type   Single post type or array of post types to count the number of posts for.
Note: See TracChangeset for help on using the changeset viewer.