[wp-trac] [WordPress Trac] #7273: Deleting a parent category doesn't properly update all child categories

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 9 21:40:41 GMT 2008


#7273: Deleting a parent category doesn't properly update all child categories
------------------------+---------------------------------------------------
 Reporter:  MtDewVirus  |       Owner:  anonymous      
     Type:  defect      |      Status:  new            
 Priority:  high        |   Milestone:  2.6            
Component:  General     |     Version:  2.6            
 Severity:  normal      |    Keywords:  delete,category
------------------------+---------------------------------------------------
 When a parent category is deleted, the child categories are not all
 updated properly.

 Steps to reproduce

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

 Tested with r8302

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


More information about the wp-trac mailing list