Opened 7 years ago
Closed 7 years ago
#40028 closed defect (bug) (fixed)
Network/Site cache cleaning does not obey cache invalidation suspension
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.8 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Networks and Sites | Keywords: | has-patch has-unit-tests commit |
Focuses: | multisite | Cc: |
Description
Sites & Networks do not obey the $_wp_suspend_cache_invalidation
global when their clean
functions are called.
This can result in an excessive number of cache invalidations when this global value is explicitly set.
Attachments (2)
Change History (5)
#1
@
7 years ago
- Keywords has-unit-tests added
- Milestone changed from Awaiting Review to 4.8
- Owner set to jeremyfelt
- Status changed from new to assigned
This makes sense and 40028.diff looks good, thanks @johnjamesjacoby. I added tests for the sites cache in 40028.2.diff.
Note: See
TracTickets for help on using
tickets.
Check
$_wp_suspend_cache_invalidation
(and also some related whitespace & order clean-up inclean_blog_cache()
)