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

WordPress Trac noreply at wordpress.org
Tue Jul 21 18:55:51 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:
--------------------------+-----------------------------
Changes (by pbiron):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Reviewing the draft sitemaps dev-note, I noticed one more function that
 needs to be renamed: `wp_register_sitemap()` to
 `wp_register_sitemap_provider()`.

 [attachment:"50724.4.diff"] does that.

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


More information about the wp-trac mailing list