-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move disallow indexing mu-plugin to package #521
Merged
swalkinshaw
merged 2 commits into
master
from
59-move-disallow-indexing-mu-plugin-to-package
May 29, 2021
Merged
Move disallow indexing mu-plugin to package #521
swalkinshaw
merged 2 commits into
master
from
59-move-disallow-indexing-mu-plugin-to-package
May 29, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
retlehs
force-pushed
the
59-move-disallow-indexing-mu-plugin-to-package
branch
3 times, most recently
from
May 20, 2020 01:44
26cb26a
to
be17d25
Compare
tangrufus
requested changes
May 20, 2020
config/application.php
Outdated
@@ -95,6 +95,7 @@ | |||
/** | |||
* Custom Settings | |||
*/ | |||
Config::define('DISALLOW_INDEXING', WP_ENV !== 'production'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
Config::define('DISALLOW_INDEXING', WP_ENV !== 'production'); | |
Config::define('DISALLOW_INDEXING', true); |
Then add Config::define('DISALLOW_INDEXING', false);
to config/environments/staging.php
and config/environments/development.php
Alternatively:
Suggested change
Config::define('DISALLOW_INDEXING', WP_ENV !== 'production'); | |
Config::define('DISALLOW_INDEXING', env('DISALLOW_INDEXING') ?? WP_ENV !== 'production'); |
swalkinshaw
force-pushed
the
59-move-disallow-indexing-mu-plugin-to-package
branch
from
May 28, 2021 04:58
be17d25
to
b43d972
Compare
Updated this |
5 tasks
g000m
added a commit
to g000m/bedrock
that referenced
this pull request
Jul 1, 2021
* Switch to GitHub actions (roots#597) * Update build status badge * Move disallow indexing mu-plugin to package (roots#521) Co-authored-by: QWp6t <hi@qwp6t.me> Co-authored-by: Scott Walkinshaw <scott.walkinshaw@gmail.com> * Support .env.local config override (roots#594) If `.env.local` exists, any values will override and take precedence over those in `.env`. This is meant for local development only. * Default to `WP_DEBUG_LOG=true` in development (roots#505) Setting WP_DEBUG_LOG to `true` will cause WP to automatically log debug output to <WP_CONTENT>/debug.log (so app/debug.log) which is a sensible default. This also comments out the old placeholder value in `.env.example` since `true` is a better default. Co-authored-by: Scott Walkinshaw <scott.walkinshaw@gmail.com> Co-authored-by: Ben Word <ben@benword.com> Co-authored-by: QWp6t <hi@qwp6t.me> Co-authored-by: QWp6t <QWp6t@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://github.com/roots/bedrock-disallow-indexing
Ref #369
Ref #59