WordPress/wp-includes/rest-api
Sergey Biryukov e85a5c64a3 REST API: Allow rest_get_avatar_urls() to accept full user, post, or comment objects, rather than just an email address, to provide better flexibility for alternative avatar data.
Since the function uses `get_avatar_url()` internally, which already supports it, this should not have any backward compatibility concerns.

Props donmhico, dshanske, pputzer, joehoyle, TimothyBlynJacobs.
Fixes #40030.
Built from https://develop.svn.wordpress.org/trunk@45632


git-svn-id: http://core.svn.wordpress.org/trunk@45443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-07-14 14:35:56 +00:00
..
endpoints REST API: Allow rest_get_avatar_urls() to accept full user, post, or comment objects, rather than just an email address, to provide better flexibility for alternative avatar data. 2019-07-14 14:35:56 +00:00
fields REST API: Slash existing meta values when comparing with incoming meta upates. 2018-12-13 16:30:37 +00:00
search Docs: Add missing @see tag to WP_REST_Post_Search_Handler DocBlock. 2019-05-14 15:00:07 +00:00
class-wp-rest-request.php Docs: Convert @see reference in WP_REST_Request DocBlock to @link, to avoid a broken link in Developer Reference. 2019-05-14 14:56:08 +00:00
class-wp-rest-response.php Docs: Correct and improve various inline documentation. 2018-08-27 14:28:26 +00:00
class-wp-rest-server.php Coding Standards: Fix instances of WordPress.PHP.NoSilencedErrors.Discouraged. 2019-07-09 05:45:58 +00:00