Version 2.0 Beta 14 Snorkel the Animals
-
Add support for password protected posts
Password protected posts are now fully supported, you can create edit and read password protected posts in the REST API. There is now a
protectedattribute in thecontentandexcerptfields in post response.To view password protected posts via the API, use the
passwordquery parameter to provide the post's password.(props @joehoyle, #2720)
-
Allow returning an error from field update callbacks
Fields added via
register_rest_fieldcan now return an instance ofWP_Errorin theupdate_callback.(props @rmccue, #2702)