WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/21/2014 05:07:42 PM (7 years ago)
Author:
johnbillion
Message:

Update the inline docs for wp_die() to reflect parameter changes made in r30355

See #10551

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r30506 r30507  
    23392339 *
    23402340 * @since 2.0.4
     2341 * @since 4.1.0 The `$title` and `$args` parameters were changed to optionally accept
     2342 *              an integer to be used as the response code.
    23412343 *
    23422344 * @param string|WP_Error  $message Optional. Error message. If this is a {@see WP_Error} object,
     
    23442346 * @param string|int       $title   Optional. Error title. If `$message` is a `WP_Error` object,
    23452347 *                                  error data with the key 'title' may be used to specify the title.
    2346  *                                  Default empty.
     2348 *                                  If `$title` is an integer, then it is treated as the response
     2349 *                                  code. Default empty.
    23472350 * @param string|array|int $args {
    23482351 *     Optional. Arguments to control behavior. If `$args` is an integer, then it is treated
Note: See TracChangeset for help on using the changeset viewer.