[wp-trac] Re: [WordPress Trac] #6772: get_posts Should Use WP_Query

WordPress Trac wp-trac at lists.automattic.com
Mon May 5 07:07:51 GMT 2008


#6772: get_posts Should Use WP_Query
-----------------------------------------------+----------------------------
 Reporter:  filosofo                           |        Owner:  anonymous
     Type:  defect                             |       Status:  reopened 
 Priority:  normal                             |    Milestone:  2.6      
Component:  General                            |      Version:  2.6      
 Severity:  blocker                            |   Resolution:           
 Keywords:  wp_query get_posts wpdb has-patch  |  
-----------------------------------------------+----------------------------
Comment (by DD32):

 Also note, adjacent_image_link() is affected too.

 WP_Query::is_attachment and other flags are also not available in the
 current case as WP_Query::parse_query() is never called.

 I'm honestly not sure if theres a better place for the code addition, It
 looks a bit out of place to me.

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


More information about the wp-trac mailing list