Changeset 37342 for trunk/src/wp-includes/functions.php
- Timestamp:
- 05/02/2016 03:59:56 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r37296 r37342 1537 1537 * Retrieves unvalidated referer from '_wp_http_referer' or HTTP referer. 1538 1538 * 1539 * Do not use for redirects, use {@see wp_get_referer()}instead.1539 * Do not use for redirects, use wp_get_referer() instead. 1540 1540 * 1541 1541 * @since 4.5.0 … … 2532 2532 * an integer to be used as the response code. 2533 2533 * 2534 * @param string|WP_Error $message Optional. Error message. If this is a {@see WP_Error}object,2534 * @param string|WP_Error $message Optional. Error message. If this is a WP_Error object, 2535 2535 * the error's messages are used. Default empty. 2536 2536 * @param string|int $title Optional. Error title. If `$message` is a `WP_Error` object, … … 2546 2546 * @type string $text_direction The text direction. This is only useful internally, when WordPress 2547 2547 * is still loading and the site's locale is not set up yet. Accepts 'rtl'. 2548 * Default is the value of {@see is_rtl()}.2548 * Default is the value of is_rtl(). 2549 2549 * } 2550 2550 */ … … 3073 3073 * Send a JSON response back to an Ajax request, indicating failure. 3074 3074 * 3075 * If the `$data` parameter is a {@see WP_Error}object, the errors3075 * If the `$data` parameter is a WP_Error object, the errors 3076 3076 * within the object are processed and output as an array of error 3077 3077 * codes and corresponding messages. All other types are output … … 3079 3079 * 3080 3080 * @since 3.5.0 3081 * @since 4.1.0 The `$data` parameter is now processed if a {@see WP_Error} 3082 * object is passed in. 3081 * @since 4.1.0 The `$data` parameter is now processed if a WP_Error object is passed in. 3083 3082 * 3084 3083 * @param mixed $data Data to encode as JSON, then print and die.
Note: See TracChangeset
for help on using the changeset viewer.