WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#13460 closed defect (bug) (fixed)

wpcat2tag: Category to tag conversion fails on default post category

Reported by: ampt Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: Import Keywords: has-patch
Focuses: Cc:

Description

When converting categories to tags the conversion fails when it tries to convert the default post category into a tag:

Fatal error: Cannot use object of type WP_Error as array in /wp-admin/import/wp-cat2tag.php on line 263

Attached is a patch that handles the error.

Attachments (1)

13460.diff (623 bytes) - added by ampt 4 years ago.

Download all attachments as: .zip

Change History (3)

ampt4 years ago

comment:1 dd324 years ago

  • Keywords import wpcat2tag removed
  • Milestone changed from Unassigned to 3.0

comment:2 ryan4 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.