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

WordPress Trac noreply at wordpress.org
Wed Dec 12 10:02:11 UTC 2012


#22876: Wrong robots meta output
--------------------------+------------------------------
 Reporter:  joostdevalk   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  Awaiting Review
Component:  Template      |     Version:  3.5
 Severity:  major         |  Resolution:
 Keywords:                |
--------------------------+------------------------------
Description changed by joostdevalk:

Old description:

> 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.

New description:

 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#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list