[wp-trac] [WordPress Trac] #20950: wpmu_delete_blog leaves zombie cache objects
WordPress Trac
wp-trac at lists.automattic.com
Mon Sep 24 14:22:42 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 ryan):
get_id_from_blogname() actually takes an unslashed path rather than a
blognam so I updated the variables a phpdoc to use the term slug instead
of name.
* Rename $name to $slug for some clarity.
* Strip leading and trailing slashes from the slug in
get_id_from_blogname() so get_blog_details()->path could be directly
passed
* Delete the get_id_from_blogname cache in refresh_blog_details()
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20950#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list