From 896436f1b9c3adb5094e54083e38e2cfaf2488f3 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 19 Jun 2020 18:00:07 +0000 Subject: [PATCH] Sitemaps: Rename the `wp_sitemaps_is_enabled` filter to `wp_sitemaps_enabled`. This makes it more consistent with the other filters of the similar purpose. Props arpitgshah. Fixes #50428. See #50117. Built from https://develop.svn.wordpress.org/trunk@48094 git-svn-id: http://core.svn.wordpress.org/trunk@47861 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/sitemaps.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/sitemaps.php b/wp-includes/sitemaps.php index fcbdefe199..4abf5d2afc 100644 --- a/wp-includes/sitemaps.php +++ b/wp-includes/sitemaps.php @@ -31,7 +31,7 @@ function wp_sitemaps_get_server() { * * @param bool $is_enabled Whether XML Sitemaps are enabled or not. Defaults to true for public sites. */ - $is_enabled = (bool) apply_filters( 'wp_sitemaps_is_enabled', $is_enabled ); + $is_enabled = (bool) apply_filters( 'wp_sitemaps_enabled', $is_enabled ); if ( ! $is_enabled ) { return null; diff --git a/wp-includes/version.php b/wp-includes/version.php index a59bf19f32..1fab618e6b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-48093'; +$wp_version = '5.5-alpha-48094'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.