WordPress/wp-includes/rest-api/endpoints
Adam Silverstein 524030edfa Images: enable WebP support.
Add support for uploading, editing and saving WebP images when supported by the server.

Add 'image/webp' to supported mime types. Correctly identify WebP images and sizes even when PHP doesn't support WebP. Resize uploaded WebP files (when supported) and use for front end markup.

Props markoheijne, blobfolio, Clorith, joemcgill, atjn, desrosj, spacedmonkey, marylauc, mikeschroder, hellofromtonya, flixos90.
Fixes #35725.


Built from https://develop.svn.wordpress.org/trunk@50810


git-svn-id: http://core.svn.wordpress.org/trunk@50419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-04 14:44:58 +00:00
..
class-wp-rest-application-passwords-controller.php App Passwords: Introduce fine grained capabilities. 2021-01-31 19:03:59 +00:00
class-wp-rest-attachments-controller.php Images: enable WebP support. 2021-05-04 14:44:58 +00:00
class-wp-rest-autosaves-controller.php Docs: Corrections and improvements to inline docs relating to the REST API. 2020-11-16 11:04:12 +00:00
class-wp-rest-block-directory-controller.php REST API: Corrections and improvements to docblocks for REST API filters. 2021-01-10 22:23:09 +00:00
class-wp-rest-block-renderer-controller.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:15:13 +00:00
class-wp-rest-block-types-controller.php Coding Standards: Remove some extra whitespace in `get_item_schema`. 2021-04-01 15:54:04 +00:00
class-wp-rest-blocks-controller.php Role/Capability: Use meta caps `edit_post`, `read_post`, and `delete_post` directly. 2020-05-23 15:24:07 +00:00
class-wp-rest-comments-controller.php REST API: Corrections and improvements to docblocks for REST API filters. 2021-01-10 22:23:09 +00:00
class-wp-rest-controller.php Docs: Promote many `bool` types to `true` or `false` where only that value is used. 2021-01-03 22:04:04 +00:00
class-wp-rest-plugins-controller.php REST API: Corrections and improvements to docblocks for REST API filters. 2021-01-10 22:23:09 +00:00
class-wp-rest-post-statuses-controller.php REST API: Corrections and improvements to docblocks for REST API filters. 2021-01-10 22:23:09 +00:00
class-wp-rest-post-types-controller.php Docs: Corrections and improvements to inline docs relating to the REST API. 2020-11-16 11:04:12 +00:00
class-wp-rest-posts-controller.php REST API: Allow authors to read their own password protected posts. 2021-04-14 23:24:04 +00:00
class-wp-rest-revisions-controller.php Docs: Promote many `bool` types to `true` or `false` where only that value is used. 2021-01-03 22:04:04 +00:00
class-wp-rest-search-controller.php Docs: Add `@since` notes for the `$id` parameter of REST API search controller accepting a string. 2020-10-03 01:22:11 +00:00
class-wp-rest-settings-controller.php REST API: Corrections and improvements to docblocks for REST API filters. 2021-01-10 22:23:09 +00:00
class-wp-rest-site-health-controller.php Security, Site Health: Improve accuracy in messaging about HTTPS support. 2021-01-29 19:10:58 +00:00
class-wp-rest-taxonomies-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-terms-controller.php Docs: Add examples of possible names for various hooks whose name contains a dynamic portion. 2021-03-07 12:32:09 +00:00
class-wp-rest-themes-controller.php REST API: Corrections and improvements to docblocks for REST API filters. 2021-01-10 22:23:09 +00:00
class-wp-rest-users-controller.php REST API: Corrections and improvements to docblocks for REST API filters. 2021-01-10 22:23:09 +00:00