Skip to content

Commit

Permalink
Sitemaps: Add missing _deprecated_function() call to newly deprecat…
Browse files Browse the repository at this point in the history
…ed method.

Follow-up to [59228].

See #61931.

git-svn-id: https://develop.svn.wordpress.org/trunk@59229 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
swissspidy committed Oct 14, 2024
1 parent f9bd807 commit e9bfe43
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/wp-includes/sitemaps/class-wp-sitemaps.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e9bfe43

Please sign in to comment.