Press This: Leverage REST API endpoints
|Reported by:||adamsilverstein||Owned by:|
If the REST API content endpoints were in core, how would we rebuild core features (like Press This) to use it? I am opening this ticket to track work on converting the Press This feature to using the REST API.
Press This communicates with WordPress via custom wp-ajax endpoints as well as by submitting form data directly to post.php via ajax mirroring what the wp post editor does. The goal here would be to switch all server interactions over to using the REST API:
- Saving posts in submitPost, include handling to redirect the user (to the login page) similar to current code
- Creating new categories in saveNewCategory
I've started work on this locally and will post a POC soon!