diff --git a/wp-includes/rest-api/class-wp-rest-server.php b/wp-includes/rest-api/class-wp-rest-server.php index ec8d2a0baf..4f5ae7650d 100644 --- a/wp-includes/rest-api/class-wp-rest-server.php +++ b/wp-includes/rest-api/class-wp-rest-server.php @@ -264,7 +264,9 @@ class WP_REST_Server { * * @param bool $rest_enabled Whether the REST API is enabled. Default true. */ - apply_filters_deprecated( 'rest_enabled', array( true ), '4.7.0', 'rest_authentication_errors', __( 'The REST API can no longer be completely disabled, the rest_authentication_errors can be used to restrict access to the API, instead.' ) ); + apply_filters_deprecated( 'rest_enabled', array( true ), '4.7.0', 'rest_authentication_errors', + __( 'The REST API can no longer be completely disabled, the rest_authentication_errors filter can be used to restrict access to the API, instead.' ) + ); /** * Filters whether jsonp is enabled. diff --git a/wp-includes/version.php b/wp-includes/version.php index c45ca040a3..e811f87753 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8-alpha-40037'; +$wp_version = '4.8-alpha-40038'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.