WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/10/2017 07:40:56 PM (4 years ago)
Author:
jnylen0
Message:

REST API: Improve a few more strings added after the 4.7 string freeze.

See #39178.

See also #40720 for potential follow-up steps.

File:
1 edited

Legend:

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

    r39954 r40606  
    7777                    'context'          => $this->get_context_param( array( 'default' => 'view' ) ),
    7878                    'password' => array(
    79                         'description' => __( 'The password for the post if it is password protected.' ),
     79                        'description' => __( 'The password for the parent post of the comment (if the post is password protected).' ),
    8080                        'type'        => 'string',
    8181                    ),
     
    9999                    ),
    100100                    'password' => array(
    101                         'description' => __( 'The password for the post if it is password protected.' ),
     101                        'description' => __( 'The password for the parent post of the comment (if the post is password protected).' ),
    102102                        'type'        => 'string',
    103103                    ),
Note: See TracChangeset for help on using the changeset viewer.