[wp-trac] [WordPress Trac] #20950: wpmu_delete_blog leaves zombie cache objects

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 13 06:13:33 UTC 2012


#20950: wpmu_delete_blog leaves zombie cache objects
--------------------------+-----------------------------
 Reporter:  mohanjith     |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  3.5
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------------

Comment (by wonderboymusic):

 Refreshed

 {{{
 wp_cache_delete( md5( $details->domain . $details->path )  , 'blog-lookup'
 );
 }}}

 Actually needs to be:

 {{{
 wp_cache_delete( md5( $wpdb->escape( $details->domain ) . $wpdb->escape(
 $details->path ) )  , 'blog-lookup' );
 }}}

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


More information about the wp-trac mailing list