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:
parent
7d9a297eb4
commit
1c45d548c4
|
@ -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;
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue