[wp-trac] [WordPress Trac] #14471: wp_create_category not working properly

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 30 12:00:07 UTC 2010


#14471: wp_create_category not working properly
-----------------------------+----------------------------------------------
 Reporter:  christian_gnoth  |       Owner:                                            
     Type:  defect (bug)     |      Status:  new                                       
 Priority:  normal           |   Milestone:  Awaiting Review                           
Component:  Taxonomy         |     Version:  3.0                                       
 Severity:  normal           |    Keywords:  wp_create_category,child_of,child category
-----------------------------+----------------------------------------------
 I am deleting categories and creating them through a theme script
 function.

 I first delete all categories who are child_of a parent cat. After that I
 delete the parent cat and create the parent cat and all child cats.

 In the wp admin backend under the category section I see all created
 categories, but the Tree structure is not displayed correctly. The created
 childs are not displayed as childs of the parent cat. there are threee
 levels - teh parent cat, one sub-cat of that and many child cats. the
 child cats are displayed as childs of the sub-cat, but the sub-cat is not
 displayed as child of the parent.

 If I try to manually edit the sub-cat I get in the drop-down list for the
 parent selection the whole tree displayed. In this drop down list the tree
 structure is correct and the sub-cat is already displayed as child of the
 parent cat.

 after that manual selection the tree structure is displayed correctly.

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


More information about the wp-trac mailing list