[wp-trac] [WordPress Trac] #50515: redirect_sitemapxml should exit if wp_sitemaps_enabled is false

WordPress Trac noreply at wordpress.org
Tue Jun 30 14:58:12 UTC 2020


#50515: redirect_sitemapxml should exit if wp_sitemaps_enabled is false
----------------------------+---------------------
 Reporter:  jonoaldersonwp  |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  5.5
Component:  Sitemaps        |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  close           |     Focuses:
----------------------------+---------------------
Changes (by swissspidy):

 * keywords:   => close
 * severity:  major => normal


Comment:

 As discussed on Slack, the `WP_Sitemaps` class (and thus this redirect
 handler) is only initialized when `wp_sitemaps_enabled` is `true`, so this
 seems like a non-issue to me.

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


More information about the wp-trac mailing list