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
This commit is contained in:
Sergey Biryukov 2020-06-18 14:44:07 +00:00
parent fcd890e546
commit e1bd050cb9
2 changed files with 1 additions and 2 deletions

View File

@ -107,7 +107,6 @@ abstract class WP_Sitemaps_Provider {
foreach ( $sitemap_types as $type ) { foreach ( $sitemap_types as $type ) {
for ( $page = 1; $page <= $type['pages']; $page ++ ) { for ( $page = 1; $page <= $type['pages']; $page ++ ) {
$loc = $this->get_sitemap_url( $type['name'], $page );
$sitemap_entry = array( $sitemap_entry = array(
'loc' => $this->get_sitemap_url( $type['name'], $page ), 'loc' => $this->get_sitemap_url( $type['name'], $page ),
); );

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.