﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
14669	get_categories returns only after page reload all cats	christian_gnoth		"I am using in a plugin the following script:


{{{
  //  check if default cat exists
  if ( !get_cat_ID('ImportFit') ) 
  {
    wp_create_category( 'ImportFit' );
  }

  $categories = get_categories(array('hide_empty' => false));

}}}

with a var_dump on $categories I can see, that the created category is returned only after one page reload. in the category view in the backend the created cat is visible."	defect (bug)	closed	normal		Cache	3.0.1	major	duplicate		
