Opened 4 years ago
Closed 4 years ago
#9518 closed enhancement (duplicate)
Theme Updates; Invalidate the cache when themes change
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 2.8 |
| Severity: | normal | Keywords: | needs-patch |
| Cc: |
Description
Right now, The only method for a theme update to occur, Is a timeout.
Ideally, It would be better to invalidate the cache upon the themes changing as well, Possibly the present calls to get_themes() could be utilised somehow to invalidate it when things change..
Attachments (1)
Change History (9)
comment:3
janeforshort — 4 years ago
- Milestone changed from 2.8 to Future Release
Punting due to feature freeze. Reconsider with next release.
- Milestone changed from Future Release to 2.8
@Jane: This can/almost certainly should be part of #7875
- Keywords has-patch needs-testing added; needs-patch 2nd-opinion removed
and the attached patch should make things work when the theme gets switched.
Denis-de-Bernardy — 4 years ago
"Themes changing" didnt mean changing themes, I meant version numbers changing or the list of themes being different.
-1 to the patch Denis added, However, I agree that its not an important ticket for 2.8.
- Keywords needs-patch added; has-patch needs-testing removed
- Milestone changed from 2.8 to Future Release
ah, my misunderstanding. moving to future then. :-)

still current with the recent changes?