General: Correct the docs for the default HTTP status code used by wp_die()
.
See #37770 git-svn-id: https://develop.svn.wordpress.org/trunk@38884 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2e9b3c22d8
commit
f948218d0f
@ -2574,7 +2574,7 @@ function wp_nonce_ays( $action ) {
|
|||||||
* Optional. Arguments to control behavior. If `$args` is an integer, then it is treated
|
* Optional. Arguments to control behavior. If `$args` is an integer, then it is treated
|
||||||
* as the response code. Default empty array.
|
* as the response code. Default empty array.
|
||||||
*
|
*
|
||||||
* @type int $response The HTTP response code. Default 500.
|
* @type int $response The HTTP response code. Default 200 for Ajax requests, 500 otherwise.
|
||||||
* @type bool $back_link Whether to include a link to go back. Default false.
|
* @type bool $back_link Whether to include a link to go back. Default false.
|
||||||
* @type string $text_direction The text direction. This is only useful internally, when WordPress
|
* @type string $text_direction The text direction. This is only useful internally, when WordPress
|
||||||
* is still loading and the site's locale is not set up yet. Accepts 'rtl'.
|
* is still loading and the site's locale is not set up yet. Accepts 'rtl'.
|
||||||
|
Loading…
Reference in New Issue
Block a user