Make WordPress Core

Opened 8 years ago

Closed 7 years ago

#38092 closed defect (bug) (worksforme)

&nbsp in sitemap.xml

Reported by: nilslappenbusch's profile nilslappenbusch Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.6.1
Component: General Keywords: reporter-feedback
Focuses: Cc:

Description

The virtual robots.txt includes an &nbsp befor the "user-agent".
Tools like google-webmaster show this as a error.

Change History (4)

#1 @nilslappenbusch
8 years ago

  • Keywords needs-patch 2nd-opinion needs-testing needs-codex added

#2 @nilslappenbusch
8 years ago

  • Summary changed from &nbsp in sitemax.xml to &nbsp in sitemap.xml

#3 @SergeyBiryukov
7 years ago

  • Keywords reporter-feedback added; needs-patch 2nd-opinion needs-testing needs-codex removed

Hi @nilslappenbusch, welcome to Trac! Thanks for the report.

There is no   in WordPress core, see the do_robots() function.

There is, however, a do_robotstxt hook in that function, which may be used by a plugin.

Could you check if the issue still exists with all plugins disabled and a default theme (Twenty Sixteen or Twenty Fifteen) activated?

#4 @SergeyBiryukov
7 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.