[wp-trac] [WordPress Trac] #27538: Widget Customizer: Persistent object cache causes previewed widgets to leak outside of customizer
WordPress Trac
noreply at wordpress.org
Thu Mar 27 00:08:52 UTC 2014
#27538: Widget Customizer: Persistent object cache causes previewed widgets to leak
outside of customizer
--------------------------+-------------------
Reporter: westonruter | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.9
Component: Widgets | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-------------------
With a persistent/external object cache plugin present (e.g. Memcached
Object Cache), widgets which output buffer and cache their frontend output
(the their `widget()` method)s will leak outside of the customizer preview
onto the site frontend. Two core widgets exhibit this behavior: Recent
Posts and Recent Comments.
1. Add a Recent Posts widget to a widget area in the customizer and then
save.
2. Go to the frontend to see the widget as configured
3. Go into the customizer and change the title of the Recent Posts widget
and preview the change
4. Leave the customizer and see that the changed widget title persists.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27538>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list