mirror of
git://develop.git.wordpress.org/
synced 2025-03-15 01:19:51 +01:00
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:
parent
969950c22c
commit
358e313748
@ -310,7 +310,7 @@ class WP_REST_Request implements ArrayAccess {
|
||||
}
|
||||
|
||||
$value = strtolower( $value );
|
||||
if ( false === strpos( $value, '/' ) ) {
|
||||
if ( strpos( $value, '/' ) === false ) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user