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
This commit is contained in:
Pascal Birchler 2024-10-14 08:52:12 +00:00
parent 7d9a297eb4
commit 1c45d548c4
2 changed files with 3 additions and 1 deletions

View File

@ -229,6 +229,8 @@ class WP_Sitemaps {
* @return bool Bypass value. * @return bool Bypass value.
*/ */
public function redirect_sitemapxml( $bypass, $query ) { 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 a plugin has already utilized the pre_handle_404 function, return without action to avoid conflicts.
if ( $bypass ) { if ( $bypass ) {
return $bypass; return $bypass;

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.