openshift/wordpress-example — pull request #3 by linickx (2012-05-24 19:49:58+00:00)
Title: More secure default wp-config.php

Hello,

I know there is a warning in the readme telling users to change the salts but so many people don't read manuals :)

I think it's better if by default users had unique keys for their WordPress installations; this pull request generates a secrets.php inside $OPENSHIFT_DATA_DIR which is then included by wp-config.php.

This approach should also make upgrades easier as local changes to wp-config.php are no longer required, therefore do not conflict with the upstream git repo.

Kind Regards,
Nick