From e9bfe4393be6e1f5a26fcb9289994e2b82d41bfd Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Mon, 14 Oct 2024 08:50:29 +0000 Subject: [PATCH] Sitemaps: Add missing `_deprecated_function()` call to newly deprecated method. Follow-up to [59228]. See #61931. git-svn-id: https://develop.svn.wordpress.org/trunk@59229 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/sitemaps/class-wp-sitemaps.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-includes/sitemaps/class-wp-sitemaps.php b/src/wp-includes/sitemaps/class-wp-sitemaps.php index a0fd5be6242e8..d4bbe38c86b11 100644 --- a/src/wp-includes/sitemaps/class-wp-sitemaps.php +++ b/src/wp-includes/sitemaps/class-wp-sitemaps.php @@ -229,6 +229,8 @@ public function render_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;