[wp-trac] [WordPress Trac] #58865: HTTP Header typo X-Robots instead of X-Robots-Tag
WordPress Trac
noreply at wordpress.org
Thu Jul 20 17:17:09 UTC 2023
#58865: HTTP Header typo X-Robots instead of X-Robots-Tag
--------------------------------+-----------------------------
Reporter: michelleblanchette | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 6.2.2
Severity: minor | Keywords:
Focuses: |
--------------------------------+-----------------------------
Code is here: https://github.com/WordPress/wordpress-
develop/blob/f4fa4dd1bab07b3b4d90ece4f988d2adcacc4733/src/wp-includes
/class-wp-customize-manager.php#L1911C55-L1911C55
It seems X-Robots is not a valid HTTP header. The correct header is X
-Robots-Tag.
Looking at the git blame, this was apparently introduced 7 years ago and
hasn't been touched since.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58865>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list