Opened 3 years ago
Last modified 2 years ago
#40363 assigned defect (bug)
Remove `current_blog_` cache invalidation from `clean_blog_cache()`
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Networks and Sites | Keywords: | good-first-bug has-patch |
| Focuses: | multisite | Cc: | |
| PR Number: |
Description
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())
Attachments (1)
Change History (9)
#2
@
3 years ago
I am also confirming that these keys are not used anywhere in the core. better to remove them.
This ticket was mentioned in Slack in #core-multisite by spacedmonkey. View the logs.
3 years ago
This ticket was mentioned in Slack in #core-multisite by flixos90. View the logs.
3 years ago
#6
@
2 years ago
- Owner set to spacedmonkey
- Status changed from new to assigned
Assigning ownership to mark the good-first-bug as "claimed".
I checked and these cache keys haven't been used in core for sometime. It should be safe to remove them.