Make WordPress Core


Ignore:
Timestamp:
11/16/2016 12:17:31 PM (9 years ago)
Author:
SergeyBiryukov
Message:

REST API: Uppercase 'ID' in endpoint descriptions and error messages for consistency with other strings.

See #38791.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php

    r39257 r39264  
    861861        if ( $taxonomy->hierarchical ) {
    862862            $schema['properties']['parent'] = array(
    863                 'description'  => __( 'The id for the parent of the resource.' ),
     863                'description'  => __( 'The ID for the parent of the resource.' ),
    864864                'type'         => 'integer',
    865865                'context'      => array( 'view', 'edit' ),
Note: See TracChangeset for help on using the changeset viewer.