Skip to content

Commit

Permalink
Merge pull request #9 from 10up/fix/robots-txt-entry
Browse files Browse the repository at this point in the history
Fix robots.txt entry
  • Loading branch information
brentvr authored Aug 18, 2022
2 parents 0f0fdfa + f082a40 commit e8d9f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/classes/Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public function disable_canonical_redirects_for_sitemap_xml( string $redirect_ur
*/
public function add_sitemap_robots_txt( string $output ): string {
$url = site_url( sprintf( '/%s.xml', $this->sitemap_slug ) );
$output .= "\n" . esc_html__( 'News Sitemap', 'simple-google-news-sitemap' ) . ": {$url}\n";
$output .= "\n" . esc_html__( 'Sitemap', 'simple-google-news-sitemap' ) . ": {$url}\n";

return $output;
}
Expand Down

0 comments on commit e8d9f78

Please # to comment.