Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#15382 closed defect (bug) (duplicate)

Looping parent / child categories breaks site

Reported by: mardala's profile mardala Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0.1
Component: Administration Keywords: category, categories
Focuses: Cc:

Description

To reproduce:

  1. Create a category.
  2. Create another category as a child of the first category.
  3. Make the first category a child of the 2nd category.

Granted you wouldn't normally do this, but if 'by accident' you did this, nothing stops you from doing this and a. you get a blank page where your site was and b. in the admin you cannot undue this. The categories disappear. So its a db fix from what I did. Granted I did this on my dev server just to see what would happen and not on a production server. But in case you accidentally did this to a live site you'd be scrambling to fix it.

Change History (1)

#1 @scribu
13 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

This was fixed in trunk, I believe. See #14662

Note: See TracTickets for help on using tickets.