[wp-trac] [WordPress Trac] #14704: _get_term_hierarchy() should check for populated array

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 13 22:46:27 UTC 2010


#14704: _get_term_hierarchy() should check for populated array
--------------------------+-------------------------------------------------
 Reporter:  zaremedia     |        Owner:            
     Type:  defect (bug)  |       Status:  closed    
 Priority:  normal        |    Milestone:            
Component:  General       |      Version:            
 Severity:  minor         |   Resolution:  worksforme
 Keywords:                |  
--------------------------+-------------------------------------------------
Changes (by scribu):

  * status:  new => closed
  * resolution:  => worksforme
  * milestone:  3.1 =>


Comment:

 > By default, the 'category_children' option is populated with a
 serialized empty PHP array.

 I don't think this is true. The option is updated every time
 clean_term_cache() is called.

 So, creating or deleting a category should fix it.

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


More information about the wp-trac mailing list