Changeset 47391 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
- Timestamp:
- 02/28/2020 12:29:53 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
r47297 r47391 17 17 class WP_REST_Attachments_Controller extends WP_REST_Posts_Controller { 18 18 19 /** 20 * Registers the routes for attachments. 21 * 22 * @since 5.3.0 23 * 24 * @see register_rest_route() 25 */ 19 26 public function register_routes() { 20 27 parent::register_routes(); … … 345 352 * @since 5.3.0 346 353 * 347 * @param WP_REST_Request $request 348 * @return WP_REST_Response|WP_Error 354 * @param WP_REST_Request $request Full details about the request. 355 * @return WP_REST_Response|WP_Error Response object on success, WP_Error object on failure. 349 356 */ 350 357 public function post_process_item( $request ) {
Note: See TracChangeset
for help on using the changeset viewer.