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

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 26 13:18:26 UTC 2010


#14471: wp_create_category not working properly
---------------------------------------+------------------------------------
 Reporter:  christian_gnoth            |        Owner:          
     Type:  defect (bug)               |       Status:  reopened
 Priority:  normal                     |    Milestone:          
Component:  Taxonomy                   |      Version:  3.0     
 Severity:  normal                     |   Resolution:          
 Keywords:  wp admin category display  |  
---------------------------------------+------------------------------------

Comment(by christian_gnoth):

 that is not the problem here.
 I am creating categories with wp_create_category.

 after that they are not displayed properly in the wp backend under "Posts"
 -> "Categories".

 So if I delete one cat - the delete_term functions performs a

         clean_term_cache($term, $taxonomy);

 Similiar the wp_create-cat should build the cache properly or the
 display_tables mthod.

 as the wp-dropdown_categories works without problems, the problem is with
 the display_tables.

 were is the best place to clean the cache, you have the knowledge about
 that. somewhere it has to be done, so that the categories are displayed
 properly!

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


More information about the wp-trac mailing list