From 74967e46ab053f9398ef0438c888f07d1176e72e Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 18 Jun 2020 14:42:36 +0000 Subject: [PATCH] Coding Standards: Remove unused variable in `WP_Sitemaps_Provider::get_sitemap_entries()`. Follow-up to [48072]. See #49542, #50117. git-svn-id: https://develop.svn.wordpress.org/trunk@48080 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/sitemaps/class-wp-sitemaps-provider.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wp-includes/sitemaps/class-wp-sitemaps-provider.php b/src/wp-includes/sitemaps/class-wp-sitemaps-provider.php index f89d9c9d33..877ebd81e3 100644 --- a/src/wp-includes/sitemaps/class-wp-sitemaps-provider.php +++ b/src/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 ), );