Making WordPress.org

Changes between Initial Version and Version 1 of Ticket #4817, comment 4


Ignore:
Timestamp:
01/16/2020 12:25:09 AM (5 years ago)
Author:
diddledani
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4817, comment 4

    initial v1  
    1 This patch will require an admin to flip the option in the admin so that the site is considered public - do **not** discourage search engines. The reason the admin toggle needs to be flipped is because I am using `wp_no_robots` which will check the option value and continue using the current behaviour if it is still set to non-public. Setting it to public will tell `wp_no_robots` to change behaviour to allow `follow` but retain `noindex`.
     1This patch (`4817.diff`) will require an admin to flip the option in the admin so that the site is considered public - do **not** discourage search engines. The reason the admin toggle needs to be flipped is because I am using `wp_no_robots` which will check the option value and continue using the current behaviour if it is still set to non-public. Setting it to public will tell `wp_no_robots` to change behaviour to allow `follow` but retain `noindex`.