WordPress.org

Make WordPress Core

Opened 16 months ago

Last modified 5 months ago

#22876 closed defect (bug)

Wrong robots meta output — at Version 1

Reported by: joostdevalk Owned by:
Milestone: 3.8 Priority: high
Severity: major Version: 3.3
Component: Template Keywords: has-patch needs-testing
Focuses: Cc:

Description (last modified by joostdevalk)

in default-filters.php, we add a new action:

{{{if ( isset( $_GETreplytocom? ) )

add_action( 'wp_head', 'wp_no_robots' );}}}

the issue is, wp_no_robots outputs noindex, nofollow. The noindex is fine, the nofollow stops any link equity from that URL, so that's actually a bad idea. Just noindex alone would be fine. Setting to priority high and severity to major as this is basically a regression.

Change History (1)

comment:1 joostdevalk16 months ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.