REST API: Update “object” strings to use the appropriate nouns.

This updates route arguments and schema descriptions to use more specific object types for clarity.

Follow-up to [39342].

Props lephleg, jnylen0.
Fixes #40720.
Built from https://develop.svn.wordpress.org/trunk@51000


git-svn-id: http://core.svn.wordpress.org/trunk@50609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov
2021-05-25 13:12:58 +00:00
parent 670ec9cfa7
commit cc95428f75
20 changed files with 94 additions and 94 deletions

View File

@@ -27,7 +27,7 @@ class WP_REST_Settings_Controller extends WP_REST_Controller {
}
/**
* Registers the routes for the objects of the controller.
* Registers the routes for the site's settings.
*
* @since 4.7.0
*