[wp-trac] [WordPress Trac] #3868: get_usernumposts does not count
private posts for users with read_private_posts
WordPress Trac
wp-trac at lists.automattic.com
Sun Feb 25 02:45:29 GMT 2007
#3868: get_usernumposts does not count private posts for users with
read_private_posts
---------------------------+------------------------------------------------
Reporter: molecularbear | Owner: anonymous
Type: defect | Status: new
Priority: low | Milestone: 2.1.2
Component: General | Version: 2.1.1
Severity: normal | Keywords:
---------------------------+------------------------------------------------
get_usernumposts in wp-includes/user.php only considers published posts; I
think it should include private posts in its count when the user has the
read_private_posts capability.
'''NOTE:''' this patch is dependent on the inclusion of #3861.
Unfortunately, my preciousss #3861 was moved to Milestone 2.2 instead of
2.1.2 :(
--
Ticket URL: <http://trac.wordpress.org/ticket/3868>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list