You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The template we currently use for wp-config.php is a customized version that makes many assumptions, such as use of a custom core directory, custom uploads, etc.
What you expected to happen:
The wp-config.php file we write should only configure what we minimally need to facilitate a site's import and operation. Beyond that, we should allow the configuration to be easily extended or overridden.
These values should be configured:
Database credentials
URL of the site (used in WP_SITEURL and WP_HOME
WP core directory, if it has been customized. (used in WP_SITEURL and ABSPATH to define location of wp core files)
I think we should leave these to the user if possible:
Custom content/plugin/theme directories
debug flags
Salts - To my knowledge, salts changing should only invalidate active sessions. Importing a site from one env to another, I do not believe this is a concern. We could potentially either auto-generate the salts like we currently do, or leave them undefined and up to the user to define.
@tannerjfco Adding labels that I think are appropriate. Do you feel like this is to the point of being actionable? What configurations would you propose?
Activity
rickmanelius commentedon Mar 28, 2017
@tannerjfco Adding labels that I think are appropriate. Do you feel like this is to the point of being actionable? What configurations would you propose?
tannerjfco commentedon Mar 28, 2017
I believe this is actionable. I have added the configurations I think we should define, and the ones we shouldn't.
rickmanelius commentedon Mar 28, 2017
Go forth and conquer the world!
tannerjfco commentedon Apr 18, 2017
This is introduced in #123, closing.