From 505c2ddb61b1509c49bd0d9e8328c6a1856f6827 Mon Sep 17 00:00:00 2001 From: Adam Silverstein Date: Sun, 25 Feb 2018 16:28:30 +0000 Subject: [PATCH] Taxonomy: restore TagSearch unit tests and correct deprecated version string. Reverts unit test removal, instead changing them to expect the function to be deprecated. Correct the version the ajax callback was deprecated. Amends [42614]. Props dlh, ocean90. Fixes #38922. Built from https://develop.svn.wordpress.org/trunk@42737 git-svn-id: http://core.svn.wordpress.org/trunk@42567 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/deprecated.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/deprecated.php b/wp-admin/includes/deprecated.php index f6e249ca5e..61989cb5b9 100644 --- a/wp-admin/includes/deprecated.php +++ b/wp-admin/includes/deprecated.php @@ -1519,10 +1519,10 @@ function options_permalink_add_js() { * Ajax handler for tag search. * * @since 3.1.0 - * @deprecated 4.9.0 Use the REST API tags endpoint instead. + * @deprecated 5.0.0 Use the REST API tags endpoint instead. */ function wp_ajax_ajax_tag_search() { - _deprecated_function( __FUNCTION__, '4.8', '/wp-json/wp/v2/tags' ); + _deprecated_function( __FUNCTION__, '5.0.0', '/wp-json/wp/v2/tags' ); if ( ! isset( $_GET['tax'] ) ) { wp_die( 0 ); diff --git a/wp-includes/version.php b/wp-includes/version.php index e7fa7dcbd3..27132bf30e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42736'; +$wp_version = '5.0-alpha-42737'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.