example-wordpress-composer icon indicating copy to clipboard operation
example-wordpress-composer copied to clipboard

wp-config.php cleanup

Open ataylorme opened this issue 8 years ago • 0 comments

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

ataylorme avatar Aug 01 '17 15:08 ataylorme