From 5d9dc4b8bf6ed3d39b4009f29847eabc85e649ae Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 29 Oct 2015 20:12:24 +0000 Subject: [PATCH] REST API: Use correct version in `_doing_it_wrong()` call. Props TobiasBg. Fixes #34490. Built from https://develop.svn.wordpress.org/trunk@35434 git-svn-id: http://core.svn.wordpress.org/trunk@35398 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/rest-api/rest-functions.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/rest-api/rest-functions.php b/wp-includes/rest-api/rest-functions.php index 4dd69dd805..90bb2e7305 100644 --- a/wp-includes/rest-api/rest-functions.php +++ b/wp-includes/rest-api/rest-functions.php @@ -52,7 +52,7 @@ function register_rest_route( $namespace, $route, $args = array(), $override = f * and namespace indexes. If you really need to register a * non-namespaced route, call `WP_REST_Server::register_route` directly. */ - _doing_it_wrong( 'register_rest_route', 'Routes must be namespaced with plugin name and version', 'WPAPI-2.0' ); + _doing_it_wrong( 'register_rest_route', 'Routes must be namespaced with plugin name and version', '4.4.0' ); $full_route = '/' . trim( $route, '/' ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index aff1c6bba5..5497a7668e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-beta2-35433'; +$wp_version = '4.4-beta2-35434'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.