From e1bd050cb91815c87187189fde8fa22d08adc24d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 18 Jun 2020 14:44:07 +0000 Subject: [PATCH] Coding Standards: Remove unused variable in `WP_Sitemaps_Provider::get_sitemap_entries()`. Follow-up to [48072]. See #49542, #50117. Built from https://develop.svn.wordpress.org/trunk@48080 git-svn-id: http://core.svn.wordpress.org/trunk@47847 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/sitemaps/class-wp-sitemaps-provider.php | 1 - wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/wp-includes/sitemaps/class-wp-sitemaps-provider.php b/wp-includes/sitemaps/class-wp-sitemaps-provider.php index f89d9c9d33..877ebd81e3 100644 --- a/wp-includes/sitemaps/class-wp-sitemaps-provider.php +++ b/wp-includes/sitemaps/class-wp-sitemaps-provider.php @@ -107,7 +107,6 @@ abstract class WP_Sitemaps_Provider { foreach ( $sitemap_types as $type ) { for ( $page = 1; $page <= $type['pages']; $page ++ ) { - $loc = $this->get_sitemap_url( $type['name'], $page ); $sitemap_entry = array( 'loc' => $this->get_sitemap_url( $type['name'], $page ), ); diff --git a/wp-includes/version.php b/wp-includes/version.php index cbdb157f4a..baedaffd6b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-48079'; +$wp_version = '5.5-alpha-48080'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.