[wp-trac] [WordPress Trac] #15382: Looping parent / child categories breaks site

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 11 00:47:10 UTC 2010


#15382: Looping parent / child categories breaks site
----------------------------+-----------------------------------------------
 Reporter:  mardala         |       Owner:                      
     Type:  defect (bug)    |      Status:  new                 
 Priority:  normal          |   Milestone:  Awaiting Review     
Component:  Administration  |     Version:  3.0.1               
 Severity:  normal          |    Keywords:  category, categories
----------------------------+-----------------------------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15382>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list