[wp-trac] [WordPress Trac] #6981: [7940] uninitiated array

WordPress Trac wp-trac at lists.automattic.com
Fri May 16 04:41:02 GMT 2008


#6981: [7940] uninitiated array
---------------------+------------------------------------------------------
 Reporter:  DD32     |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:  2.6      
Component:  General  |     Version:  2.6      
 Severity:  normal   |    Keywords:  has-patch
---------------------+------------------------------------------------------
 > [7940]: Fix default taxonomy query var. Populate taxonomy and term query
 vars ...
 > Fix default taxonomy query var. Populate taxonomy and term query vars
 ASAP. Fixes template fall-through. Hat tip: andy
 > By matt — 05/16/08 02:35:24

 thanks to spencerp for mentioning it on wp-testers:
 > *Warning*: in_array() [function.in-array
 <http://www.vindictivebastard.com/id/function.in-array>]: Wrong datatype
 for second argument in */home/user/public_html/wp-includes/classes.php* on
 line *162
 > Getting error in blog header...
 > *

 I've attached a patch which initates the array to an empty array.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6981>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list