Changeset 56156
- Timestamp:
- 07/06/2023 11:21:34 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/class-wp-rest-server.php
r56096 r56156 407 407 * 408 408 * @since 5.5.0 409 * 410 * @param string[] $expose_headers The list of response headers to expose. 411 * @param WP_REST_Request The request in context. 409 * @since 6.3.0 The `$request` parameter was added. 410 * 411 * @param string[] $expose_headers The list of response headers to expose. 412 * @param WP_REST_Request $request The request in context. 412 413 */ 413 414 $expose_headers = apply_filters( 'rest_exposed_cors_headers', $expose_headers, $request ); … … 432 433 * 433 434 * @since 5.5.0 434 * 435 * @param string[] $allow_headers The list of request headers to allow. 436 * @param WP_REST_Request The request in context. 435 * @since 6.3.0 The `$request` parameter was added. 436 * 437 * @param string[] $allow_headers The list of request headers to allow. 438 * @param WP_REST_Request $request The request in context. 437 439 */ 438 440 $allow_headers = apply_filters( 'rest_allowed_cors_headers', $allow_headers, $request );
Note: See TracChangeset
for help on using the changeset viewer.