[wp-trac] [WordPress Trac] #27538: Widget Customizer: Persistent object cache/Transients causes certain previewed widgets to leak outside of customizer
WordPress Trac
noreply at wordpress.org
Sat Mar 29 20:52:31 UTC 2014
#27538: Widget Customizer: Persistent object cache/Transients causes certain
previewed widgets to leak outside of customizer
--------------------------+--------------------
Reporter: westonruter | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 3.9
Component: Widgets | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+--------------------
Comment (by westonruter):
As discussed on IRC, we can invoke `wp_suspend_cache_addition()` before
rendering each widget in the preview to prevent the cache from getting
polluted. Also, `wp_suspend_cache_addition()` should also suspend setting
transients.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27538#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list