[wp-trac] [WordPress Trac] #31677: count_user_posts is not working in wordpress 4.1
WordPress Trac
noreply at wordpress.org
Wed Mar 18 04:36:19 UTC 2015
#31677: count_user_posts is not working in wordpress 4.1
--------------------------+-----------------------------
Reporter: stark.manish | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
count_user_posts have two parameters.
1. User ID
2. Post Type.
There is a note in codex - Note : Since 4.1 it supports post types.
But when I am using this function in my recent wordpress version i.e. 4.1
it is not giving me proper output.
Codex Url - http://codex.wordpress.org/Function_Reference/count_user_posts
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31677>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list