summaryrefslogtreecommitdiffstatshomepage
path: root/src/wp-includes/rest-api/fields/class-wp-rest-user-meta-fields.php
diff options
context:
space:
mode:
authorSergey Biryukov <sergeybiryukov@git.wordpress.org>2021-05-25 13:11:55 +0000
committerSergey Biryukov <sergeybiryukov@git.wordpress.org>2021-05-25 13:11:55 +0000
commit3d5a37a9bc3c34521b2879ce090f4de703cd08c6 (patch)
tree966f70e343412c47943befaae5e773f6573207fd /src/wp-includes/rest-api/fields/class-wp-rest-user-meta-fields.php
parent55572ad66429fbe411d7394be4cb7787a5a1737c (diff)
downloadwordpress-3d5a37a9bc3c34521b2879ce090f4de703cd08c6.tar.gz
wordpress-3d5a37a9bc3c34521b2879ce090f4de703cd08c6.zip
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
Diffstat (limited to 'src/wp-includes/rest-api/fields/class-wp-rest-user-meta-fields.php')
-rw-r--r--src/wp-includes/rest-api/fields/class-wp-rest-user-meta-fields.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wp-includes/rest-api/fields/class-wp-rest-user-meta-fields.php b/src/wp-includes/rest-api/fields/class-wp-rest-user-meta-fields.php
index d35cb2ba59..fb1513c58a 100644
--- a/src/wp-includes/rest-api/fields/class-wp-rest-user-meta-fields.php
+++ b/src/wp-includes/rest-api/fields/class-wp-rest-user-meta-fields.php
@@ -17,7 +17,7 @@
class WP_REST_User_Meta_Fields extends WP_REST_Meta_Fields {
/**
- * Retrieves the object meta type.
+ * Retrieves the user meta type.
*
* @since 4.7.0
*
@@ -28,7 +28,7 @@ class WP_REST_User_Meta_Fields extends WP_REST_Meta_Fields {
}
/**
- * Retrieves the object meta subtype.
+ * Retrieves the user meta subtype.
*
* @since 4.9.8
*