Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#6981 closed defect (bug) (fixed)

[7940] uninitiated array

Reported by: dd32's profile DD32 Owned by: matt's profile 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 17 years ago.

Download all attachments as: .zip

Change History (3)

@DD32
17 years ago

#1 @DD32
17 years ago

  • Owner changed from anonymous to matt

assigning to matt as it was his commit

#2 @ryan
17 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.