diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
index cae96c2587..09eae58f23 100644
a
|
b
|
class WP_REST_Attachments_Controller extends WP_REST_Posts_Controller { |
968 | 968 | * |
969 | 969 | * @since 4.7.0 |
970 | 970 | * |
971 | | * @param array $data Supplied file data. |
972 | | * @param array $headers HTTP headers from the request. |
| 971 | * @param string $data Supplied file data. |
| 972 | * @param array $headers HTTP headers from the request. |
973 | 973 | * @return array|WP_Error Data from wp_handle_sideload(). |
974 | 974 | */ |
975 | 975 | protected function upload_from_data( $data, $headers ) { |