[wp-trac] [WordPress Trac] #50724: Sitemaps: rename 'sitemap' to 'provider' in registry class

WordPress Trac noreply at wordpress.org
Tue Jul 21 15:46:01 UTC 2020


#50724: Sitemaps: rename  'sitemap' to 'provider' in  registry class
--------------------------+-----------------------------
 Reporter:  swissspidy    |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.5
Component:  Sitemaps      |     Version:  trunk
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------

Comment (by pbiron):

 [attachment:"50724.2.diff"] additionally changes:

 1. `wp_get_sitemaps()` to `wp_get_sitemaps_providers()`
 2. a couple of occurrences of `$sitemaps = $registry->get_providers()` to
 `$providers = $registry->get_providers()` in the unit tests

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50724#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list