[wp-trac] [WordPress Trac] #52713: Reverse logic in wp_robots function and filter

WordPress Trac noreply at wordpress.org
Fri Mar 5 04:02:18 UTC 2021


#52713: Reverse logic in wp_robots function and filter
--------------------------+---------------------
 Reporter:  Cybr          |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.7.1
Component:  General       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+---------------------
Changes (by peterwilsoncc):

 * milestone:  Awaiting Review => 5.7.1


Comment:

 I agree it makes sense to defer to the least permissive option if
 conflicting values are specified. @flixos90 do you have
 thoughts/objections around this?

 I don't think it's a blocker for release so putting this on to the 5.7.1
 milestone for now.

 As for displaying default values such as `index`, I lean toward keeping
 them as it indicates the robots tag is been included as expected and
 accounts for search engines/archivists that have different defaults than
 Google.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52713#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list