Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#9518 closed enhancement (duplicate)

Theme Updates; Invalidate the cache when themes change

Reported by: dd32's profile DD32 Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.8
Component: Administration Keywords: needs-patch
Focuses: 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)

9518.diff (427 bytes) - added by Denis-de-Bernardy 16 years ago.

Download all attachments as: .zip

Change History (9)

#1 @Denis-de-Bernardy
16 years ago

still current with the recent changes?

#2 @DD32
16 years ago

Yes.

#3 @janeforshort
16 years ago

  • Milestone changed from 2.8 to Future Release

Punting due to feature freeze. Reconsider with next release.

#4 @Denis-de-Bernardy
16 years ago

  • Milestone changed from Future Release to 2.8

@Jane: This can/almost certainly should be part of #7875

#5 @Denis-de-Bernardy
16 years ago

  • Keywords has-patch needs-testing added; needs-patch 2nd-opinion removed

and the attached patch should make things work when the theme gets switched.

#6 @DD32
16 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.

#7 @Denis-de-Bernardy
16 years ago

  • Keywords needs-patch added; has-patch needs-testing removed
  • Milestone changed from 2.8 to Future Release

ah, my misunderstanding. moving to future then. :-)

#8 @dd32
16 years ago

  • Milestone Future Release deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Closing as dupe due to later ticket with a patch: #10220

Note: See TracTickets for help on using tickets.