[wp-trac] [WordPress Trac] #28093: Widgets JS API
WordPress Trac
noreply at wordpress.org
Fri May 9 14:19:01 UTC 2014
#28093: Widgets JS API
-------------------------+------------------------------
Reporter: westonruter | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: javascript
-------------------------+------------------------------
Comment (by kadamwhite):
If I can ask a question to clarify the intent here: it sounds like what is
being proposed is (1) a Backbone re-write of the widget management UI, and
(2) the addition of some endpoints for getting widget information via
AJAX. The former seems to be the goal here, making it easier to add
widgets to the customizer, etc, but this would require the latter in order
to get and update information appropriately, correct? If so, I think it's
important to be explicit about both components of the problem—the idea of
a widget endpoint is also an open to-do for the json api project,
https://github.com/WP-API/WP-API/issues/19, and in that project Ryan calls
out that a widget endpoint also makes assumptions about a sidebar
endpoint, sidebars relationships to themes, etc.
I'd like to see this happen, I just want to make sure the scope of the
project is clear.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28093#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list