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.

git-svn-id: https://develop.svn.wordpress.org/trunk@51000 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2021-05-25 13:11:55 +00:00
parent 55572ad664
commit 3d5a37a9bc
19 changed files with 93 additions and 93 deletions
@@ -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
*