From 4d22c4392a47dc352742c12091976893f65bf3b9 Mon Sep 17 00:00:00 2001
Date: Sat, 15 Dec 2018 14:22:08 +0100
Subject: [PATCH] Fix deprecation version number WP 5.0 vs 5.1

---
 src/wp-admin/includes/deprecated.php | 4 ++--
 src/wp-includes/ms-deprecated.php    | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/wp-admin/includes/deprecated.php b/src/wp-admin/includes/deprecated.php
index 61989cb5b9..eb99e216dd 100644
--- a/src/wp-admin/includes/deprecated.php
+++ b/src/wp-admin/includes/deprecated.php
@@ -1519,10 +1519,10 @@ function options_permalink_add_js() {
  * Ajax handler for tag search.
  *
  * @since 3.1.0
- * @deprecated 5.0.0 Use the REST API tags endpoint instead.
+ * @deprecated 5.1.0 Use the REST API tags endpoint instead.
  */
 function wp_ajax_ajax_tag_search() {
-	_deprecated_function( __FUNCTION__, '5.0.0', '/wp-json/wp/v2/tags' );
+	_deprecated_function( __FUNCTION__, '5.1.0', 'REST API endpoint /wp-json/wp/v2/tags' );
 
 	if ( ! isset( $_GET['tax'] ) ) {
 		wp_die( 0 );
diff --git a/src/wp-includes/ms-deprecated.php b/src/wp-includes/ms-deprecated.php
index 26544a57f9..6763fcb384 100644
--- a/src/wp-includes/ms-deprecated.php
+++ b/src/wp-includes/ms-deprecated.php
@@ -559,7 +559,7 @@ function is_user_option_local( $key, $user_id = 0, $blog_id = 0 ) {
  * the new blog's ID. It is the first step in creating a new blog.
  *
  * @since MU (3.0.0)
- * @deprecated 5.0.0 Use `wp_insert_site()`
+ * @deprecated 5.1.0 Use `wp_insert_site()`
  * @see wp_insert_site()
  *
  * @param string $domain  The domain of the new site.
@@ -568,7 +568,7 @@ function is_user_option_local( $key, $user_id = 0, $blog_id = 0 ) {
  * @return int|false The ID of the new row
  */
 function insert_blog($domain, $path, $site_id) {
-	_deprecated_function( __FUNCTION__, '5.0.0', 'wp_insert_site()' );
+	_deprecated_function( __FUNCTION__, '5.1.0', 'wp_insert_site()' );
 
 	$data = array(
 		'domain'  => $domain,
@@ -594,7 +594,7 @@ function insert_blog($domain, $path, $site_id) {
  * points to the new blog.
  *
  * @since MU (3.0.0)
- * @deprecated 5.0.0
+ * @deprecated 5.1.0
  *
  * @global wpdb     $wpdb
  * @global WP_Roles $wp_roles
@@ -605,7 +605,7 @@ function insert_blog($domain, $path, $site_id) {
 function install_blog( $blog_id, $blog_title = '' ) {
 	global $wpdb, $wp_roles;
 
-	_deprecated_function( __FUNCTION__, '5.0.0' );
+	_deprecated_function( __FUNCTION__, '5.1.0' );
 
 	// Cast for security
 	$blog_id = (int) $blog_id;
-- 
2.17.1.windows.2

