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:
John Blackbourn 2016-10-24 13:12:52 +00:00
parent 2e9b3c22d8
commit f948218d0f
1 changed files with 1 additions and 1 deletions

View File

@ -2574,7 +2574,7 @@ function wp_nonce_ays( $action ) {
* Optional. Arguments to control behavior. If `$args` is an integer, then it is treated
* 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 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'.