[wp-trac] [WordPress Trac] #33520: Docs of count_user_posts() and get_usernumposts filter - $post_type can be clarified
WordPress Trac
noreply at wordpress.org
Sun Aug 23 17:45:52 UTC 2015
#33520: Docs of count_user_posts() and get_usernumposts filter - $post_type can be
clarified
-------------------------+---------------------------
Reporter: tyxla | Owner: DrewAPicture
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.4
Component: Users | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: docs
-------------------------+---------------------------
Changes (by DrewAPicture):
* owner: => DrewAPicture
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"33716"]:
{{{
#!CommitTicketReference repository="" revision="33716"
Docs: Better clarify that the `$post_type` parameter for the
`get_usernumposts` filter and `count_user_posts()` can accept either a
single post type or array of post types.
Props tyxla
See #33481. Fixes #33520.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33520#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list