Ticket #6981 (closed defect: fixed)

Opened 2 months ago

Last modified 2 months ago

[7940] uninitiated array

Reported by: DD32 Assigned to: 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 (392 bytes) - added by DD32 on 05/16/08 04:41:34.

Change History

05/16/08 04:41:34 changed by DD32

  • attachment 6981.diff added.

05/16/08 13:11:47 changed by DD32

  • owner changed from anonymous to matt.

assigning to matt as it was his commit

05/16/08 16:33:11 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

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