[wp-trac] [WordPress Trac] #30904: Pass post type to count_user_posts() in get_the_author_posts();
WordPress Trac
noreply at wordpress.org
Sun Jan 4 19:54:38 UTC 2015
#30904: Pass post type to count_user_posts() in get_the_author_posts();
-------------------------------+-----------------------------
Reporter: Caspie | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 4.1
Severity: normal | Keywords:
Focuses: template |
-------------------------------+-----------------------------
Prevents possible wrong posts count, return when no post type is passed -
the default "post" is used. Related to the enhancement in #21364
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30904>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list