wordpress-develop/src/wp-includes/rest-api
Sergey Biryukov a7513ac8e0 I18N: Improve translator comments.
* Add missing translator comments.
* Fix placement of some translator comments. Translator comments should be on the line directly above the line containing the translation function call for optimal compatibility with various `.pot` file generation tools. The CS auto-fixing, which changed some inconsistent function calls to multi-line function calls, is part of the reason why this was no longer the case for a select group of translator comments.

Includes minor code layout fixes.

Polyglots, rejoice! All WordPress core files now have translator comments for all strings with placeholders!

Props jrf, subrataemfluence, GaryJ, webdados, Dency, swissspidy, alvarogois, marcomartins, mihaiiceyro, vladwtz, niq1982, flipkeijzer, michielatyoast, chandrapatel, thrijith, joshuanoyce, FesoVik, tessak22, bhaktirajdev, cleancoded, dhavalkasvala, garrett-eclipse, bibliofille, socalchristina, priyankkpatel, 5hel2l2y, adamsilverstein, JeffPaul, pierlo, SergeyBiryukov.
Fixes #44360.

git-svn-id: https://develop.svn.wordpress.org/trunk@45926 602fd350-edb4-49c9-b593-d223f7449a82
2019-09-01 17:12:43 +00:00
..
endpoints I18N: Improve translator comments. 2019-09-01 17:12:43 +00:00
fields REST API: Only cast scalar types to string when comparing new & old meta values. 2019-08-28 03:07:03 +00:00
search Docs: Add missing @see tag to WP_REST_Post_Search_Handler DocBlock. 2019-05-14 14:58:09 +00:00
class-wp-rest-request.php I18N: Improve translator comments. 2019-09-01 17:12:43 +00:00
class-wp-rest-response.php Docs: Correct and improve various inline documentation. 2018-08-27 14:27:22 +00:00
class-wp-rest-server.php REST API: Do not send response body if status is 204 or body is null. 2019-08-15 19:55:13 +00:00