Changeset 46069
- Timestamp:
- 09/05/2019 11:04:05 PM (6 years ago)
- Location:
- trunk/src/wp-includes/rest-api
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/class-wp-rest-response.php
r43582 r46069 77 77 * @since 4.4.0 78 78 * 79 * @param 80 * @param 81 * 79 * @param string $rel Link relation. Either an IANA registered type, or an absolute URL. 80 * @param string $href Optional. Only remove links for the relation matching the given href. 81 * Default null. 82 82 */ 83 83 public function remove_link( $rel, $href = null ) { -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-controller.php
r45932 r46069 475 475 * @since 4.7.0 476 476 * 477 * @param 477 * @param string $object_type Optional. The object type. 478 478 * @return array Registered additional fields (if any), empty array if none or if the object type could 479 479 * not be inferred. -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php
r46068 r46069 369 369 * @since 4.7.0 370 370 * 371 * @param 371 * @param WP_REST_Request $request Full details about the request. 372 372 * @return bool|WP_Error True if the request has access to delete the item, WP_Error object otherwise. 373 373 */ -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php
r45932 r46069 305 305 * @since 4.7.0 306 306 * 307 * @param 308 * @param 309 * @param 307 * @param mixed $value The value for the setting. 308 * @param WP_REST_Request $request The request object. 309 * @param string $param The parameter name. 310 310 * @return mixed|WP_Error 311 311 */ -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php
r45813 r46069 139 139 * @since 4.7.0 140 140 * 141 * @param 141 * @param WP_REST_Request $request Full details about the request. 142 142 * @return true|WP_Error True if the request has read access for the item, otherwise false or WP_Error object. 143 143 */ -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php
r45811 r46069 212 212 * @since 5.0.0 213 213 * 214 * @param array 214 * @param array $query_params JSON Schema-formatted collection parameters. 215 215 */ 216 216 return apply_filters( 'rest_themes_collection_params', $query_params ); … … 222 222 * @since 5.0.0 223 223 * 224 * @param 225 * @param 226 * @param 224 * @param string|array $statuses One or more theme statuses. 225 * @param WP_REST_Request $request Full details about the request. 226 * @param string $parameter Additional parameter to pass to validation. 227 227 * @return array|WP_Error A list of valid statuses, otherwise WP_Error object. 228 228 */ -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php
r45932 r46069 1123 1123 * @since 4.7.0 1124 1124 * 1125 * @param mixed$value The username submitted in the request.1126 * @param WP_REST_Request$request Full details about the request.1127 * @param string$param The parameter name.1125 * @param mixed $value The username submitted in the request. 1126 * @param WP_REST_Request $request Full details about the request. 1127 * @param string $param The parameter name. 1128 1128 * @return WP_Error|string The sanitized username, if valid, otherwise an error. 1129 1129 */ … … 1152 1152 * @since 4.7.0 1153 1153 * 1154 * @param mixed$value The password submitted in the request.1155 * @param WP_REST_Request$request Full details about the request.1156 * @param string$param The parameter name.1154 * @param mixed $value The password submitted in the request. 1155 * @param WP_REST_Request $request Full details about the request. 1156 * @param string $param The parameter name. 1157 1157 * @return WP_Error|string The sanitized password, if valid, otherwise an error. 1158 1158 */ -
trunk/src/wp-includes/rest-api/fields/class-wp-rest-meta-fields.php
r45932 r46069 514 514 * @since 4.7.0 515 515 * 516 * @param 517 * @param 518 * @param 516 * @param mixed $value The meta value submitted in the request. 517 * @param WP_REST_Request $request Full details about the request. 518 * @param string $param The parameter name. 519 519 * @return WP_Error|string The meta array, if valid, otherwise an error. 520 520 */
Note: See TracChangeset
for help on using the changeset viewer.