[wp-trac] [WordPress Trac] #51511: Introduce Robots API and Media Search Engine Visibility setting

WordPress Trac noreply at wordpress.org
Fri Jan 29 20:36:19 UTC 2021


#51511: Introduce Robots API and Media Search Engine Visibility setting
-------------------------------------------------+-------------------------
 Reporter:  flixos90                             |       Owner:  flixos90
     Type:  feature request                      |      Status:  closed
 Priority:  normal                               |   Milestone:  5.7
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests needs-dev-  |     Focuses:
  note commit                                    |
-------------------------------------------------+-------------------------
Changes (by flixos90):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"50078" 50078]:
 {{{
 #!CommitTicketReference repository="" revision="50078"
 Robots: Add `max-image-preview:large` directive by default.

 This changeset introduces a `wp_robots_max_image_preview_large()` function
 which is hooked into the `wp_robots` filter to include the `max-image-
 preview:large` directive for all sites which are configured to be indexed
 by search engines. The directive allows search engines to display large
 image previews for the site in search results.

 Props adamsilverstein, Clorith, flixos90, helen, joostdevalk,
 tweetythierry, westonruter.
 Fixes #51511.
 }}}

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


More information about the wp-trac mailing list