[wp-meta] [Making WordPress.org] #4817: Change meta robots directive on systems

Making WordPress.org noreply at wordpress.org
Fri Feb 7 00:12:25 UTC 2020

#4817: Change meta robots directive on systems
 Reporter:  jonoaldersonwp            |       Owner:  (none)
     Type:  defect                    |      Status:  new
 Priority:  lowest                    |   Milestone:
Component:  Make (Get Involved) / P2  |  Resolution:
 Keywords:  seo has-patch             |

Comment (by dd32):

 Replying to [comment:7 jonoaldersonwp]:
 > We updated the "Discourage search engines" behaviour in core relatively
 recently, to output "noindex, follow". Are we running a recent enough
 version to have picked that up?

 We are, but that change doesn't do what you think it does..

 `wp_no_robots()` still outputs `noindex,nofollow` unless the option
 "Discourage search engines" is ''disabled'' where it changes to
 `noindex,follow`. But if the option is disabled, `wp_no_robots()` isn't
 called by default, ''except on embeds and `?replytocom=` links'' where
 it's called.

Ticket URL: <https://meta.trac.wordpress.org/ticket/4817#comment:8>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org

More information about the wp-meta mailing list