[wp-trac] Re: [WordPress Trac] #4073: get_posts: add query hooks (but only apply to non-admin user)

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 3 18:56:07 GMT 2007


#4073: get_posts: add query hooks (but only apply to non-admin user)
-------------------------+--------------------------------------------------
 Reporter:  kevinB       |        Owner:  markjaquith
     Type:  enhancement  |       Status:  new        
 Priority:  normal       |    Milestone:  2.2        
Component:  General      |      Version:             
 Severity:  normal       |   Resolution:             
 Keywords:  get_posts    |  
-------------------------+--------------------------------------------------
Changes (by kevinB):

  * keywords:  => get_posts

Comment:

 I replaced the patch file with a revision which INNER JOINs post2cat and
 postmeta.  I had them as LEFT JOINs (as in WP_Query), but realized that
 the existing get_posts code is effectively using INNER JOINs.

 On a different topic, why can't WP_Query INNER JOIN post2cat also?

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4073#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list