WordPress/wp-includes/rest-api/endpoints
Sergey Biryukov 16b8d91baa 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.
Built from https://develop.svn.wordpress.org/trunk@45926


git-svn-id: http://core.svn.wordpress.org/trunk@45737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-01 17:13:59 +00:00
..
class-wp-rest-attachments-controller.php REST API: Cache results of get_item_schema on controller instances for performance. 2019-08-15 21:09:55 +00:00
class-wp-rest-autosaves-controller.php REST API: Cache results of get_item_schema on controller instances for performance. 2019-08-15 21:09:55 +00:00
class-wp-rest-block-renderer-controller.php REST API: Cache results of get_item_schema on controller instances for performance. 2019-08-15 21:09:55 +00:00
class-wp-rest-blocks-controller.php REST API: Cache results of get_item_schema on controller instances for performance. 2019-08-15 21:09:55 +00:00
class-wp-rest-comments-controller.php I18N: Improve translator comments. 2019-09-01 17:13:59 +00:00
class-wp-rest-controller.php REST API: Cache results of get_item_schema on controller instances for performance. 2019-08-15 21:09:55 +00:00
class-wp-rest-post-statuses-controller.php REST API: Cache results of get_item_schema on controller instances for performance. 2019-08-15 21:09:55 +00:00
class-wp-rest-post-types-controller.php REST API: Cache results of get_item_schema on controller instances for performance. 2019-08-15 21:09:55 +00:00
class-wp-rest-posts-controller.php REST API: Cache results of get_item_schema on controller instances for performance. 2019-08-15 21:09:55 +00:00
class-wp-rest-revisions-controller.php REST API: Prevent deletion of post revisions. 2019-08-15 22:01:55 +00:00
class-wp-rest-search-controller.php REST API: Cache results of get_item_schema on controller instances for performance. 2019-08-15 21:09:55 +00:00
class-wp-rest-settings-controller.php I18N: Improve translator comments. 2019-09-01 17:13:59 +00:00
class-wp-rest-taxonomies-controller.php REST API: Always return post types list in taxonomies endpoint response as an array. 2019-08-15 22:12:55 +00:00
class-wp-rest-terms-controller.php REST API: Cache results of get_item_schema on controller instances for performance. 2019-08-15 21:09:55 +00:00
class-wp-rest-themes-controller.php REST API: Cache results of get_item_schema on controller instances for performance. 2019-08-15 21:09:55 +00:00
class-wp-rest-users-controller.php REST API: Cache results of get_item_schema on controller instances for performance. 2019-08-15 21:09:55 +00:00