Opened 9 years ago
Closed 8 years ago
#36203 closed enhancement (fixed)
clean_blog_cache needs a hook
Reported by: | spacedmonkey | Owned by: | jeremyfelt |
---|---|---|---|
Milestone: | 4.6 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Cache API | Keywords: | has-patch |
Focuses: | multisite | Cc: |
Description
Unlike other cache clear functions, clean_blog_cache doesn't have a hook.
Attachments (1)
Change History (5)
This ticket was mentioned in Slack in #core-multisite by spacedmonkey. View the logs.
9 years ago
#3
in reply to:
↑ 1
@
8 years ago
- Keywords has-patch added
- Milestone changed from Awaiting Review to 4.6
- Owner set to jeremyfelt
- Status changed from new to accepted
Replying to spacedmonkey:
I have named it the hook
clean_site_cache
. I know the function is calledclean_blog_cache
, but want to keep inline with multisite naming.
I think that's the right call. We don't have a clean_site_cache()
to confuse with and we would likely introduce a clean_network_cache()
instead if it was ever needed.
Note: See
TracTickets for help on using
tickets.
I have named it the hook
clean_site_cache
. I know the function is calledclean_blog_cache
, but want to keep inline with multisite naming.