Opened 11 months ago
Last modified 11 months ago
#21364 new enhancement
Pass post type to count_user_posts()
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | General | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch needs-testing |
| Cc: |
Description
Add $post_type argument to count_user_posts(). Defaults to 'post', as it is hard-coded now.
Attachments (2)
Change History (4)
Note: See
TracTickets for help on using
tickets.
patch