WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/07/2017 04:08:42 AM (3 years ago)
Author:
joehoyle
Message:

REST API: WP_REST_Request::remove_header() should canonicalize header names.

When headers are stored in WP_REST_Request internally they are canonicalized. This step already happens on setting / getting headers in any way, but was missed when implementing remove_header().

Props TimothyBlynJacobs.
Fixes #40347.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.