#20270 closed defect (bug) (fixed)
Skip cached credits if version number doesn't match
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 3.4 | Priority: | normal |
| Severity: | normal | Version: | 3.2 |
| Component: | General | Keywords: | has-patch |
| Focuses: | Cc: |
Description
When upgrading you're redirected to wp-admin/about.php (What's New) which has the credits tab. However you may be in a situation where previously cached credits for an older version will be displayed instead of for the version you have just upgraded to.
Since the credits API returns the major version (e.g. "3.3") we can that $wp_version begins with this string.
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Might be better to key the initial transient based on $wp_version (in addition to $locale like it is already).
We really should just implement garbage collection — remove all transients on DB upgrade or core update.