[wp-trac] [WordPress Trac] #19912: Add Widget Groups and Locations
WordPress Trac
noreply at wordpress.org
Sat Jan 30 20:05:36 UTC 2016
#19912: Add Widget Groups and Locations
--------------------------------------+-----------------------------
Reporter: koopersmith | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Future Release
Component: Widgets | Version: 3.3.1
Severity: normal | Resolution:
Keywords: dev-feedback needs-patch | Focuses:
--------------------------------------+-----------------------------
Comment (by westonruter):
Implementing widget groups could facilitate the migration (and backwards
compatibility) of widgets from being stored in options to a custom post
type. Per #35669:
> the way that widgets get associated with sidebars should also perhaps be
changed to follow the pattern of how nav menu items are associated with a
nav menu via a taxonomy term. The implementing of widget groups (#19912)
could be the right opportunity to do this, where a `widget_grouping`
taxonomy could be introduced, and when a grouping is assigned to a
sidebar, the backwards-compatible widget IDs could be copied into the
existing `sidebars_widgets` option. Otherwise, backwards compatibility
might entail adding `pre_option_sidebars_widgets` filter.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/19912#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list