diff --git a/src/wp-includes/rest-api/class-wp-rest-server.php b/src/wp-includes/rest-api/class-wp-rest-server.php
index a7c43b041f..ef3d93d435 100644
|
a
|
b
|
class WP_REST_Server { |
| 243 | 243 | * https://miki.it/blog/2014/7/8/abusing-jsonp-with-rosetta-flash/ |
| 244 | 244 | */ |
| 245 | 245 | $this->send_header( 'X-Content-Type-Options', 'nosniff' ); |
| 246 | | $this->send_header( 'Access-Control-Expose-Headers', 'X-WP-Total, X-WP-TotalPages' ); |
| | 246 | $this->send_header( 'Access-Control-Expose-Headers', 'X-WP-Total, X-WP-TotalPages, Link' ); |
| 247 | 247 | $this->send_header( 'Access-Control-Allow-Headers', 'Authorization, Content-Type' ); |
| 248 | 248 | |
| 249 | 249 | /** |