Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 8 years ago

#7273 closed defect (bug) (duplicate)

Deleting a parent category doesn't properly update all child categories

Reported by: mtdewvirus's profile MtDewVirus Owned by:
Milestone: Priority: high
Severity: normal Version: 2.6
Component: General Keywords: delete, category
Focuses: Cc:


When a parent category is deleted, the child categories are not all updated properly.

Steps to reproduce

  1. Create a category titled Parent
  2. Create a category titled Child1 with parent category set as Parent
  3. Create a category titled Child2 with parent category set as Parent
  4. Delete Parent category
  5. Child1 gets updated properly in the database. It no longer has a category parent
  6. Child2 still has the parent set to the deleted Parent category.

Tested with r8302

Change History (2)

#1 @hailin
15 years ago

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

This is caused by the same bug in #7272.

#2 @DrewAPicture
8 years ago

  • Milestone 2.6 deleted
Note: See TracTickets for help on using tickets.