WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#6981 closed defect (bug) (fixed)

[7940] uninitiated array

Reported by: DD32 Owned by: matt
Milestone: 2.6 Priority: normal
Severity: normal Version: 2.6
Component: General Keywords: has-patch
Focuses: Cc:

Description

[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.

Attachments (1)

6981.diff (392 bytes) - added by DD32 7 years ago.

Download all attachments as: .zip

Change History (3)

@DD327 years ago

comment:1 @DD327 years ago

  • Owner changed from anonymous to matt

assigning to matt as it was his commit

comment:2 @ryan7 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [7944]) Init array. Props DD32. fixes #6981

Note: See TracTickets for help on using tickets.