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

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 23 07:56:00 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            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------

Comment (by nacin):

 Either way, we should also remove the various comments about
 pub_priv_sql_capability() in the phpdoc for get_private_posts_cap_sql(),
 which is where the filter was introduced in r5189.

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


More information about the wp-trac mailing list