[wp-trac] [WordPress Trac] #14330: Multiple Post Type in Page Query Problem

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 17 00:21:50 UTC 2010


#14330: Multiple Post Type in Page Query Problem
--------------------------+-------------------------------------------------
 Reporter:  loushou       |        Owner:  loushou 
     Type:  defect (bug)  |       Status:  assigned
 Priority:  normal        |    Milestone:  3.1     
Component:  Query         |      Version:  3.0     
 Severity:  major         |   Resolution:          
 Keywords:  needs-patch   |  
--------------------------+-------------------------------------------------

Comment(by loushou):

 This patch removes all 'references' in foreach loops, since they were not
 available in PHP4. Instead it uses the key-value method to replace the
 values with string casted values. Also removed the references in the
 foreach loop in the second section for the patch that dealt specifically
 with the post_type query variable.

 Thanks for the notes again. :)

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


More information about the wp-trac mailing list