Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#6411 closed defect (bug) (fixed)

wxr importer: $categories array undefined

Reported by: tellyworth's profile tellyworth Owned by:
Milestone: 2.5 Priority: normal
Severity: normal Version: 2.5
Component: General Keywords: has-patch
Focuses: Cc:

Description

$this->categories isn't correctly inititalized. It can cause a warning if an import contains no categories.

One liner fix attached.

Attachments (1)

importer-var-fix-r7545.patch (359 bytes) - added by tellyworth 17 years ago.

Download all attachments as: .zip

Change History (2)

#1 @ryan
17 years ago

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

(In [7546]) Init categories array. Props tellyworth. fixes #6411

Note: See TracTickets for help on using tickets.