Revert: Undo r46639.

This was meant to be committed to /trunk. 

See #48337.


git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46653 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jake Spurlock 2019-11-05 17:34:06 +00:00
parent 969950c22c
commit 358e313748

View File

@ -310,7 +310,7 @@ class WP_REST_Request implements ArrayAccess {
}
$value = strtolower( $value );
if ( false === strpos( $value, '/' ) ) {
if ( strpos( $value, '/' ) === false ) {
return null;
}