get_posts_by_author_sql() should use the post type object
|Reported by:||nacin||Owned by:|
The filter there, pub_priv_sql_capability, is pretty useless, particularly since it doesn't receive any context. Suggesting we simply remove it.
Patch also adds a $post_type property to count_many_users_posts().
Change History (7)
Note: See TracTickets for help on using tickets.