[wp-trac] [WordPress Trac] #22876: Wrong robots meta output

WordPress Trac noreply at wordpress.org
Wed Dec 12 10:01:39 UTC 2012


#22876: Wrong robots meta output
-----------------------------+--------------------------
 Reporter:  joostdevalk      |       Type:  defect (bug)
   Status:  new              |   Priority:  high
Milestone:  Awaiting Review  |  Component:  Template
  Version:  3.5              |   Severity:  major
 Keywords:                   |
-----------------------------+--------------------------
 in default-filters.php, we add a new action:

 `if ( isset( $_GET['replytocom'] ) )
         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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22876>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list