[wp-trac] [WordPress Trac] #39908: Make the page and category widget exclusions use a drop down not ID
WordPress Trac
noreply at wordpress.org
Sat Feb 18 01:12:49 UTC 2017
#39908: Make the page and category widget exclusions use a drop down not ID
-------------------------+-----------------------
Reporter: karmatosed | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.8
Component: Widgets | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: rest-api
-------------------------+-----------------------
Changes (by westonruter):
* keywords: => needs-patch
* focuses: => rest-api
* milestone: Awaiting Review => 4.8
Comment:
While the exclusion ''could'' be implemented via a multi-select field
(`select[multiple]`) if there are hundreds or thousands of pages then this
doesn't scale. Nevertheless, the same problem exists for the `dropdown-
pages` control in core currently. So it would be better than nothing! (And
it could surely be implemented before we can get an accessible equivalent
to Select2 into core.)
The list of pages populating the select should be sourced from the REST
API once the widget control is expanded as opposed to being exported with
the control up front when the customizer is loaded. The same should be
done for the `dropdown-pages` widget. See #30738.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39908#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list