[wp-trac] [WordPress Trac] #40363: Remove `current_blog_` cache invalidation from `clean_blog_cache()`

WordPress Trac noreply at wordpress.org
Tue Apr 4 22:09:47 UTC 2017


#40363: Remove `current_blog_` cache invalidation from `clean_blog_cache()`
--------------------------------+----------------------------------------
 Reporter:  flixos90            |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Networks and Sites  |    Version:
 Severity:  normal              |   Keywords:  needs-patch good-first-bug
  Focuses:  multisite           |
--------------------------------+----------------------------------------
 `clean_blog_cache()` currently invalidates keys
 `current_blog_{$blog->domain}` and
 `current_blog_{$blog->domain}_{$blog->path}` of the `site-options` group.
 As far as I can see those keys are not used anywhere in Core (and have not
 been used for quite a while), so we should be able to remove them from
 that function.

 Related: #40201 (more elaborate improvements of `clean_blog_cache()`)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40363>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list