Skip to content
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

wp-config.php cleanup #27

Open
ataylorme opened this issue Aug 1, 2017 · 0 comments
Open

wp-config.php cleanup #27

ataylorme opened this issue Aug 1, 2017 · 0 comments

Comments

@ataylorme
Copy link
Contributor

wp-config.php needs some love. Currently a lot of items are repeated between local/non-Pantheon and Pantheon environments.

We should cleanup wp-config.php so that all shared items live in the main file and Pantheon or local specific items are separated out into wp-config-pantheon.php and wp-config-local.php respectively.

These files can then be included based on whether $_ENV['PANTHEON_ENVIRONMENT'] is present or not.

wp-config.php should also follow WordPress coding standards and be run through code sniffing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant