From 1c45d548c4333a3c15b4bb565eb86298b3e512aa Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Mon, 14 Oct 2024 08:52:12 +0000 Subject: [PATCH] Sitemaps: Add missing `_deprecated_function()` call to newly deprecated method. Follow-up to [59228]. See #61931. Built from https://develop.svn.wordpress.org/trunk@59229 git-svn-id: http://core.svn.wordpress.org/trunk@58621 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/sitemaps/class-wp-sitemaps.php | 2 ++ wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-includes/sitemaps/class-wp-sitemaps.php b/wp-includes/sitemaps/class-wp-sitemaps.php index a0fd5be624..d4bbe38c86 100644 --- a/wp-includes/sitemaps/class-wp-sitemaps.php +++ b/wp-includes/sitemaps/class-wp-sitemaps.php @@ -229,6 +229,8 @@ class WP_Sitemaps { * @return bool Bypass value. */ public function redirect_sitemapxml( $bypass, $query ) { + _deprecated_function( __FUNCTION__, '6.7.0' ); + // If a plugin has already utilized the pre_handle_404 function, return without action to avoid conflicts. if ( $bypass ) { return $bypass; diff --git a/wp-includes/version.php b/wp-includes/version.php index e895dbef1f..db5747ab5a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.7-beta2-59228'; +$wp_version = '6.7-beta2-59229'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.