Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#6411 closed defect (bug) (fixed)

wxr importer: $categories array undefined

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


$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 8 years ago.

Download all attachments as: .zip

Change History (2)

comment:1 @ryan8 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.