Changeset 39250
- Timestamp:
- 11/15/2016 06:15:30 PM (8 years ago)
- Location:
- trunk/src/wp-includes/rest-api/endpoints
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
r39239 r39250 1159 1159 'type' => 'string', 1160 1160 'context' => array( 'view', 'edit', 'embed' ), 1161 'readonly' => true, 1161 1162 ), 1162 1163 ), -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php
r39191 r39250 206 206 'capabilities' => array( 207 207 'description' => __( 'All capabilities used by the resource.' ), 208 'type' => 'array', 209 'items' => array( 210 'type' => 'string', 211 ), 208 'type' => 'object', 212 209 'context' => array( 'edit' ), 213 210 'readonly' => true, -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r39239 r39250 87 87 'password' => array( 88 88 'description' => __( 'The password for the post if it is password protected.' ), 89 'type' => 'string', 89 90 ), 90 91 ), … … 2070 2071 'description' => __( 'Limit result set to posts with one or more specific slugs.' ), 2071 2072 'type' => 'array', 2073 'items' => array( 2074 'type' => 'string', 2075 ), 2072 2076 'sanitize_callback' => 'wp_parse_slug_list', 2073 2077 ); -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php
r39191 r39250 237 237 'capabilities' => array( 238 238 'description' => __( 'All capabilities used by the resource.' ), 239 'type' => ' array',239 'type' => 'object', 240 240 'context' => array( 'edit' ), 241 241 'readonly' => true, -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php
r39239 r39250 90 90 'description' => __( 'Required to be true, as resource does not support trashing.' ), 91 91 ), 92 'reassign' => array(), 92 'reassign' => array( 93 'type' => 'integer', 94 'description' => __( 'Reassign the deleted user\'s posts and links to this user ID.' ), 95 ), 93 96 ), 94 97 ), … … 101 104 'callback' => array( $this, 'get_current_item' ), 102 105 'args' => array( 103 'context' => array(),106 'context' => $this->get_context_param( array( 'default' => 'view' ) ), 104 107 ), 105 108 ), … … 120 123 'description' => __( 'Required to be true, as resource does not support trashing.' ), 121 124 ), 122 'reassign' => array(), 125 'reassign' => array( 126 'type' => 'integer', 127 'description' => __( 'Reassign the deleted user\'s posts and links to this user ID.' ), 128 ), 123 129 ), 124 130 ),
Note: See TracChangeset
for help on using the changeset viewer.