[wp-trac] [WordPress Trac] #16545: Direct WP_Query::get_posts() calls can break

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 15 23:57:16 UTC 2011


#16545: Direct WP_Query::get_posts() calls can break
-------------------------------------+---------------------
 Reporter:  nacin                    |       Owner:
     Type:  defect (bug)             |      Status:  closed
 Priority:  highest omg bbq          |   Milestone:  3.1
Component:  Query                    |     Version:  3.1
 Severity:  blocker                  |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |
-------------------------------------+---------------------
Changes (by ryan):

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


Comment:

 (In [17451]) Run parse_query() in get_posts() so that the query vars are
 always parsed for set(), get_posts() patterns. fixes #16545 for trunk

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


More information about the wp-trac mailing list