[wp-trac] [WordPress Trac] #26335: Twenty Fourteen: Ephemera Widget caches plugin filtering (and lack of plugin filtering) of the_content
WordPress Trac
noreply at wordpress.org
Fri Nov 29 23:04:23 UTC 2013
#26335: Twenty Fourteen: Ephemera Widget caches plugin filtering (and lack of
plugin filtering) of the_content
------------------------------+-----------------------------
Reporter: celloexpressions | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version:
Severity: normal | Keywords:
------------------------------+-----------------------------
Many plugins filter `the_content()` to add things like social sharing
buttons.
The Twenty Fourteen Ephemera Widget currently ignores the potential for
plugins to change the contents of the widget. For plugins that rely on
external css/js files for their functionality, deactivating the plugin
will remove those assets but leave the html markup displayed. This creates
a bad user experience because the plugin appears to not be removed even
after deleting all of its files.
Example steps to reproduce:
1. Install & activate a plugin such as
[http://wordpress.org/plugins/quickshare QuickShare]
2. Add the Twenty Fourteen Ephemera Widget to a sidebar
3. Uninstall QuickShare
The html needed by QuickShare is still present in the widget. Removing and
re-adding the widget fixes it.
One solution would be to prevent plugins' filters from ever applying to
the widget's `the_content`, as they are almost never desirable for display
in a widget. I'm currently hiding QuickShare from the widget with css.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/26335>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list