From a1f244d45438c0f8adf94fb7f90d0c242f4de3af Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 28 Nov 2014 11:39:22 +0000 Subject: [PATCH] Improve line-wrapping and formatting in the DocBlock for `wp_send_json_error()`. See #30469. Built from https://develop.svn.wordpress.org/trunk@30614 git-svn-id: http://core.svn.wordpress.org/trunk@30604 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 10 ++++++---- wp-includes/version.php | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 2a2de21cdd..173fb80190 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -2807,12 +2807,14 @@ function wp_send_json_success( $data = null ) { /** * Send a JSON response back to an Ajax request, indicating failure. * - * If the `$data` parameter is a `WP_Error` object, the errors within the object are processed - * and output as an array of error codes and corresponding messages. All other types are - * output without further processing. + * If the `$data` parameter is a {@see WP_Error} object, the errors + * within the object are processed and output as an array of error + * codes and corresponding messages. All other types are output + * without further processing. * * @since 3.5.0 - * @since 4.1.0 The `$data` parameter is now processed if a `WP_Error` object is passed in. + * @since 4.1.0 The `$data` parameter is now processed if a {@see WP_Error} + * object is passed in. * * @param mixed $data Data to encode as JSON, then print and die. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 9ab66f4c47..4ad84f3200 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.1-beta2-30613'; +$wp_version = '4.1-beta2-30614'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.