- Timestamp:
- 07/14/2020 11:41:47 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/sitemaps/class-wp-sitemaps-renderer.php
r48098 r48470 68 68 69 69 if ( ! $wp_rewrite->using_permalinks() ) { 70 $sitemap_url = add_query_arg( 'sitemap-stylesheet', 'sitemap', home_url( '/' ));70 $sitemap_url = home_url( '/?sitemap-stylesheet=sitemap' ); 71 71 } 72 72 … … 99 99 100 100 if ( ! $wp_rewrite->using_permalinks() ) { 101 $sitemap_url = add_query_arg( 'sitemap-stylesheet', 'index', home_url( '/' ));101 $sitemap_url = home_url( '/?sitemap-stylesheet=index' ); 102 102 } 103 103
Note: See TracChangeset
for help on using the changeset viewer.