mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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:
parent
fcd890e546
commit
e1bd050cb9
@ -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 ),
|
||||||
);
|
);
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user