Ticket #6981 (closed defect (bug): fixed)

Opened 4 years ago

Last modified 4 years ago

[7940] uninitiated array

Reported by: DD32 Owned by: matt
Priority: normal Milestone: 2.6
Component: General Version: 2.6
Severity: normal Keywords: has-patch
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

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

Change History

DD324 years ago

comment:1   DD324 years ago

  • Owner changed from anonymous to matt

assigning to matt as it was his commit

comment:2   ryan4 years ago

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

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

Note: See TracTickets for help on using tickets.