[wp-trac] [WordPress Trac] #43590: Search Engine Visibility option does not work as intended

WordPress Trac noreply at wordpress.org
Sun Sep 1 22:11:55 UTC 2019


#43590: Search Engine Visibility option does not work as intended
---------------------------------------------+-----------------------------
 Reporter:  mamaedler                        |       Owner:  donmhico
     Type:  defect (bug)                     |      Status:  assigned
 Priority:  normal                           |   Milestone:  5.3
Component:  General                          |     Version:  2.1
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  administration
---------------------------------------------+-----------------------------
Changes (by peterwilsoncc):

 * keywords:  has-patch needs-unit-tests => has-patch has-unit-tests commit


Comment:

 Minor changes in [attachment:"43590.3.diff"]:

 * Fixed typo in docblock for `wp_no_robots()`
 * Expanded `@since` description in `do_robots()` to include reference to
 meta tag
 * Minor CS fixes
 * Reformatted test slightly
 * added a link to the `wp_head` hook while we were changing the
 `wp_no_robots()` function (not directly related)
 * used the return early pattern for `wp_no_robots()` rather than an
 `else`.

 All very minor to get the ticket in shape for commit.

 Tests are still passing https://travis-ci.com/WordPress/wordpress-
 develop/builds/125369116

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


More information about the wp-trac mailing list