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

WordPress Trac noreply at wordpress.org
Tue Jul 21 15:55:36 UTC 2020


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

Comment (by swissspidy):

 In [changeset:"48540" 48540]:
 {{{
 #!CommitTicketReference repository="" revision="48540"
 Sitemaps: Rename `wp_get_sitemaps()` to `wp_get_sitemaps_providers()`

 Following [48536], rename the function to match the rest of the sitemaps
 logic.

 Also eliminates some dead code after [48523].

 Props pbiron.
 See #50724. See #50643.
 }}}

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


More information about the wp-trac mailing list