[wp-trac] [WordPress Trac] #17220: get_posts_by_author_sql() should use the post type object

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 22 23:29:27 UTC 2011


#17220: get_posts_by_author_sql() should use the post type object
--------------------------+-----------------
 Reporter:  nacin         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  3.2
Component:  Post Types    |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------
 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().

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17220>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list