Skip to content

Commit

Permalink
Move disallow indexing mu-plugin to package
Browse files Browse the repository at this point in the history
  • Loading branch information
QWp6t authored and retlehs committed May 20, 2020
1 parent e6f0afc commit 26cb26a
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 16 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
### Head

* Use Bedrock disallow indexing package ([#521](https://github.com/roots/bedrock/pull/521))
* Use Bedrock Autoloader package ([#519](https://github.com/roots/bedrock/pull/519))
* chore(deps): Bump vlucas/phpdotenv from 4.1.4 to 4.1.5 ([#518](https://github.com/roots/bedrock/pull/518))

### 1.13.5: 2020-05-11

Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"vlucas/phpdotenv": "^4.1.5",
"oscarotero/env": "^1.2.0",
"roots/bedrock-autoloader": "^1.0",
"roots/bedrock-disallow-indexing": "dev-master",
"roots/wordpress": "5.4.1",
"roots/wp-config": "1.0.0",
"roots/wp-password-bcrypt": "1.0.0"
Expand Down
51 changes: 49 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions config/application.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
/**
* Custom Settings
*/
Config::define('DISALLOW_INDEXING', WP_ENV !== 'production');
Config::define('AUTOMATIC_UPDATER_DISABLED', true);
Config::define('DISABLE_WP_CRON', env('DISABLE_WP_CRON') ?: false);
// Disable the plugin and theme file editor in the admin
Expand Down
14 changes: 0 additions & 14 deletions web/app/mu-plugins/disallow-indexing.php

This file was deleted.

0 comments on commit 26cb26a

Please sign in to comment.