[wp-trac] [WordPress Trac] #3427: $category_cache format change (regression?)

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 3 07:18:47 GMT 2006

#3427: $category_cache format change (regression?)
 Reporter:  alexkingorg  |       Owner:  anonymous
     Type:  defect       |      Status:  new      
 Priority:  highest      |   Milestone:  2.1      
Component:  General      |     Version:  2.1      
 Severity:  blocker      |    Keywords:           
 In 2.0.x, $category_cache is an array of post_id arrays with category
 objects as the post_id array values.

 Array (
  'post_id' => array(category_object, category_object)
  ,'post_id' => array(category_object)

 In 2.1 there seems to have been another layer of array added:

 Array (
  Array (
   'post_id' => Array(category_object, category_object)
   ,'post_id' => Array(category_object)

 I can't see the benefit of this extra layer, and it breaks backward

 If this is "broken" as I suspect, point me in the right direction and I'll
 try to create a patch.

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

More information about the wp-trac mailing list