Opened 19 years ago
Closed 19 years ago
#3868 closed defect (bug) (fixed)
get_usernumposts does not count private posts for users with read_private_posts
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.2 | Priority: | low |
| Severity: | normal | Version: | 2.1.1 |
| Component: | General | Keywords: | has-patch |
| Focuses: | Cc: |
Description
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 :(
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
patch to user.php dependent on #3861