We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d45e2a3 commit 86eaf72Copy full SHA for 86eaf72
src/wp-includes/rest-api/class-wp-rest-server.php
@@ -226,7 +226,7 @@ protected function error_to_response( $error ) {
226
*
227
* @param string $code WP_Error-style code.
228
* @param string $message Human-readable message.
229
- * @param int $status Optional. HTTP status code to send. Default null.
+ * @param int|null $status Optional. HTTP status code to send. Default null.
230
* @return string JSON representation of the error.
231
*/
232
protected function json_error( $code, $message, $status = null ) {
0 commit comments