[wp-trac] [WordPress Trac] #38342: Quick Draft: Leverage REST API endpoints
WordPress Trac
noreply at wordpress.org
Thu Oct 27 02:35:09 UTC 2016
#38342: Quick Draft: Leverage REST API endpoints
----------------------------------+-------------------------
Reporter: adamsilverstein | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.7
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: needs-patch REST-API | Focuses: javascript
----------------------------------+-------------------------
Comment (by dd32):
Personally, I think in the event that the JS attempts to use the REST API
and finds it unavailable, it should gracefully accept that situation and
display an error to that effect. "Unavailable, something horrible has
happened to your WordPress install!" (better worded of course).
I wouldn't worry about a fallback or detecting if it's available before
initing the module - just as long as their draft content is still
available for them to copy-paste to save via the normal editor.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38342#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list