General: Correct the docs for the default HTTP status code used by `wp_die()`.
See #37770 Built from https://develop.svn.wordpress.org/trunk@38884 git-svn-id: http://core.svn.wordpress.org/trunk@38827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b21d1cb6e6
commit
2dfc3a7572
|
@ -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'.
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.7-alpha-38883';
|
||||
$wp_version = '4.7-alpha-38884';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue