Opened 3 years ago
Closed 3 years ago
#5820 closed defect (bug) (fixed)
Image caching isue with the plugin tab
Reported by: | techeshta | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Plugin Directory | Keywords: | has-screenshots |
Cc: |
Description
When I was accessing a plugin tab after changing the icon images type from jpg to png then it's not working properly.
Please see this link, https://profiles.wordpress.org/prowcplugins/#content-plugins
First plugin, "Empty Cart Button for WooCommerce" - icon not displaying. But when I will click on the detail page, the icon is displaying there.
Please check the attachment to understand it deeply.
Attachments (1)
Change History (2)
#1
@
3 years ago
- Resolution set to fixed
- Status changed from new to closed
Fixed in r17545-dotorg.
Profiles: Ensure that the cache blog_id is also switched so that when the Plugin Directory caches are cleared, profiles respects it.
Profiles & Plugin Directory are in separate networks, so the profiles code can't simply switch_to_blog()
to request plugin directory data, such as the icon. This wasn't a problem in the past, as profiles wasn't using an object cache, but now that it is, the plugin directory code was storing a cache on the Profiles network that the Plugin directory wasn't clearing upon updates.
I've fixed that, and any affected plugins should be good within an hour or so as their caches clear.
Plugins Directory - ProWCPlugins