mozilla / wp-calypso

INACTIVE - http://mzl.la/ghe-archive - The new JavaScript- and API-powered WordPress.com
https://developer.wordpress.com/calypso/
GNU General Public License v2.0
4 stars 10 forks source link

Enable viewing of drafts through react-wp-api-client #17

Closed simonwex closed 8 years ago

simonwex commented 8 years ago

In order for editor users to view drafts on teach.m.o, the editor must be authenticated with Calypso & WP.com's API (wp-api). Teach.m.o will use the react-wp-api-client in order to retrieve content from wp-api. By default, this content will be published content. We need to have a switch for showing latest draft content so that the preview interface can trigger it. That switch can be added to the querystring. When ?preview=true appears in the teach.m.o querystring, we should load the latest draft content.

Tasks:

hannahkane commented 8 years ago

Is this ticket still needed?