We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
?
1 parent 2802727 commit 8671dfeCopy full SHA for 8671dfe
src/wp-includes/class-wp-rewrite.php
@@ -1288,7 +1288,7 @@ public function rewrite_rules() {
1288
$favicon_rewrite = ( empty( $home_path['path'] ) || '/' === $home_path['path'] ) ? array( 'favicon\.ico$' => $this->index . '?favicon=1' ) : array();
1289
1290
// sitemap.xml -- only if installed at the root.
1291
- $sitemap_rewrite = ( empty( $home_path['path'] ) || '/' === $home_path['path'] ) ? array( 'sitemap\.xml' => $this->index . '??sitemap=index' ) : array();
+ $sitemap_rewrite = ( empty( $home_path['path'] ) || '/' === $home_path['path'] ) ? array( 'sitemap\.xml' => $this->index . '?sitemap=index' ) : array();
1292
1293
// Old feed and service files.
1294
$deprecated_files = array(
0 commit comments