Make WordPress Core


Ignore:
Timestamp:
05/25/2021 01:11:55 PM (5 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/fields/class-wp-rest-user-meta-fields.php

    r46586 r51000  
    1818
    1919        /**
    20          * Retrieves the object meta type.
     20         * Retrieves the user meta type.
    2121         *
    2222         * @since 4.7.0
    … …  
    2929
    3030        /**
    31          * Retrieves the object meta subtype.
     31         * Retrieves the user meta subtype.
    3232         *
    3333         * @since 4.9.8
Note: See TracChangeset for help on using the changeset viewer.