[wp-trac] [WordPress Trac] #35574: Add REST API JSON schema information to WP_Widget
WordPress Trac
noreply at wordpress.org
Wed May 4 19:54:53 UTC 2016
#35574: Add REST API JSON schema information to WP_Widget
------------------------------------------+------------------
Reporter: westonruter | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.6
Component: Widgets | Version: 2.8
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses:
------------------------------------------+------------------
Comment (by westonruter):
Feature plugin where I'm prototyping the inclusing of an instance schema
into the `WP_Widget` class and using it for REST API endpoints, widget
instance validation, and enabling the raw JSON to be returned to the
Customizer without the PHP-serialized base64-encoded data needed for back-
compat for widgets that may store non-JSON-representable data in
instances: https://github.com/xwp/wp-js-widgets
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35574#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list