get_usernumposts does not count private posts for users with read_private_posts
|Reported by:||molecularbear||Owned by:||rob1n|
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.
Change History (5)
Note: See TracTickets for help on using tickets.