diff --git a/lib/class-wp-rest-oauth1.php b/lib/class-wp-rest-oauth1.php index 1226731..742a709 100644 --- a/lib/class-wp-rest-oauth1.php +++ b/lib/class-wp-rest-oauth1.php @@ -678,6 +678,7 @@ public function check_oauth_signature( $consumer, $oauth_params, $token = null ) case 'POST': case 'PUT': + case 'PATCH': $params = wp_unslash( $_POST ); break; default: