Opened 9 years ago
Closed 9 years ago
#40028 closed defect (bug) (fixed)
Network/Site cache cleaning does not obey cache invalidation suspension
| Reported by: | johnjamesjacoby | Owned by: | jeremyfelt |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.8 |
| Component: | Networks and Sites | Version: | |
| Severity: | normal | Keywords: | has-patch has-unit-tests commit |
| Cc: | Focuses: | multisite |
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
@
9 years ago
- Keywords has-unit-tests added
- Milestone Awaiting Review → 4.8
- Owner set to
- Status new → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Check
$_wp_suspend_cache_invalidation(and also some related whitespace & order clean-up inclean_blog_cache())