From ae2ff33c919f0fc212bbd4dd5d310014665145bc Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Fri, 7 Oct 2016 19:24:28 +0000 Subject: [PATCH] Docs: Improve formatting of filter docs added in [38689]. Fixes #35590. Built from https://develop.svn.wordpress.org/trunk@38749 git-svn-id: http://core.svn.wordpress.org/trunk@38692 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/rest-api/class-wp-rest-server.php | 10 +++++----- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-includes/rest-api/class-wp-rest-server.php b/wp-includes/rest-api/class-wp-rest-server.php index 0a763183a9..914944656e 100644 --- a/wp-includes/rest-api/class-wp-rest-server.php +++ b/wp-includes/rest-api/class-wp-rest-server.php @@ -875,7 +875,7 @@ class WP_REST_Server { } /** - * Call a filter before executing any REST API callbacks. + * Filters the response before executing any REST API callbacks. * * Allows plugins to perform additional validation after a * request is initialized and matched to a registered route, @@ -930,18 +930,18 @@ class WP_REST_Server { } /** - * Call a filter immediately after executing any REST API + * Filters the response immediately after executing any REST API * callbacks. * * Allows plugins to perform any needed cleanup, for example, - * to undo changes made during `rest_request_before_callbacks`. + * to undo changes made during the {@see 'rest_request_before_callbacks'} + * filter. * * Note that this filter will not be called for requests that * fail to authenticate or match to a registered route. * * Note that an endpoint's `permission_callback` can still be - * called after this filter - see the `rest_send_allow_header` - * function. + * called after this filter - see `rest_send_allow_header()`. * * @since 4.7.0 * diff --git a/wp-includes/version.php b/wp-includes/version.php index c76449da59..82a4320c86 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-alpha-38748'; +$wp_version = '4.7-alpha-38749'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.