Make WordPress Core


Ignore:
Timestamp:
11/15/2016 06:15:30 PM (10 years ago)
Author:
joehoyle
Message:

REST API: Clean up argument and property types.

There's a couple of places where we were missing type notes for arguments, which mainly affects documentation.

Props jnylen0.
Fixes #38792.

File:
1 edited

Legend:

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

    r39239 r39250  
    11591159                                                        'type'            => 'string',
    11601160                                                        'context'         => array( 'view', 'edit', 'embed' ),
     1161                                                        'readonly'        => true,
    11611162                                                ),
    11621163                                        ),
Note: See TracChangeset for help on using the changeset viewer.