[wp-trac] [WordPress Trac] #9580: wrong cache key?

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 18 13:18:30 GMT 2009


#9580: wrong cache key?
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  anonymous 
     Type:  defect (bug)       |      Status:  new       
 Priority:  normal             |   Milestone:  Unassigned
Component:  General            |     Version:            
 Severity:  normal             |    Keywords:            
-------------------------------+--------------------------------------------
 in function &get_pages(), the cache key is defined as:

 {{{
 $key = md5( serialize( compact(array_keys($defaults)) ) );
 }}}

 Shouldn't this be:

 {{{
 $key = md5( serialize( compact(array_keys($r)) ) );
 }}}

 ?

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


More information about the wp-trac mailing list