WordPress.org

Make WordPress Core

Changeset 48080


Ignore:
Timestamp:
06/18/2020 02:42:36 PM (16 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Remove unused variable in WP_Sitemaps_Provider::get_sitemap_entries().

Follow-up to [48072].

See #49542, #50117.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/sitemaps/class-wp-sitemaps-provider.php

    r48072 r48080  
    108108        foreach ( $sitemap_types as $type ) {
    109109            for ( $page = 1; $page <= $type['pages']; $page ++ ) {
    110                 $loc        = $this->get_sitemap_url( $type['name'], $page );
    111110                $sitemap_entry = array(
    112111                    'loc' => $this->get_sitemap_url( $type['name'], $page ),
Note: See TracChangeset for help on using the changeset viewer.