Make WordPress Core

Opened 13 years ago

Closed 13 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 13 years ago.

Download all attachments as: .zip

Change History (2)

#1 @ryan
13 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.