Make WordPress Core


Ignore:
Timestamp:
11/23/2016 02:42:00 AM (8 years ago)
Author:
joehoyle
Message:

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

Props ramiy.
Fixes #38811.

File:
1 edited

Legend:

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

    r39337 r39342  
    12881288
    12891289        $query_params['after'] = array(
    1290             'description'       => __( 'Limit response to resources published after a given ISO8601 compliant date.' ),
     1290            'description'       => __( 'Limit response to comments published after a given ISO8601 compliant date.' ),
    12911291            'type'              => 'string',
    12921292            'format'            => 'date-time',
     
    13171317
    13181318        $query_params['before'] = array(
    1319             'description'       => __( 'Limit response to resources published before a given ISO8601 compliant date.' ),
     1319            'description'       => __( 'Limit response to comments published before a given ISO8601 compliant date.' ),
    13201320            'type'              => 'string',
    13211321            'format'            => 'date-time',
     
    13721372        $query_params['parent'] = array(
    13731373            'default'           => array(),
    1374             'description'       => __( 'Limit result set to resources of specific parent IDs.' ),
     1374            'description'       => __( 'Limit result set to comments of specific parent IDs.' ),
    13751375            'type'              => 'array',
    13761376            'items'             => array(
     
    13901390        $query_params['post']   = array(
    13911391            'default'           => array(),
    1392             'description'       => __( 'Limit result set to resources assigned to specific post IDs.' ),
     1392            'description'       => __( 'Limit result set to comments assigned to specific post IDs.' ),
    13931393            'type'              => 'array',
    13941394            'items'             => array(
Note: See TracChangeset for help on using the changeset viewer.