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

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 28 11:27:41 UTC 2011


#17220: get_posts_by_author_sql() should use the post type object
------------------------------+---------------------
 Reporter:  nacin             |       Owner:
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.2
Component:  Post Types        |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by nacin):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 (In [17742]) Use the post type object in get_posts_by_author_sql() and add
 a post type parameter to count_many_users_posts(). The formerly somewhat
 useless and now totally useless pub_priv_sql_capability filter is
 considered deprecated. fixes #17220.

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


More information about the wp-trac mailing list