Skip to content

Commit 3cd1ede

Browse files
committed
Update Overview in README
Fixed the description of the plugin to indicate that it relies on the value of a `DISALLOW_INDEXING` constant and not `WP_ENV`. The latter constant only being used as a reference in an dashboard notice.
1 parent 01891fe commit 3cd1ede

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,7 @@
2828

2929
## Overview
3030

31-
This plugin will prevent indexing of a site when [`WP_ENV`](https://docs.roots.io/bedrock/master/environment-variables/#wp-env) or [`wp_get_environment_type()`](https://developer.wordpress.org/reference/functions/wp_get_environment_type/) is not set to `production`.
31+
This plugin will prevent indexing of a site when `DISALLOW_INDEXING` is set to `true`
32+
and display a notice in the WordPress dashboard with a reference to the value of
33+
[`WP_ENV`](https://docs.roots.io/bedrock/master/environment-variables/#wp-env) or
34+
[`wp_get_environment_type()`](https://developer.wordpress.org/reference/functions/wp_get_environment_type/).

0 commit comments

Comments
 (0)