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

Add the ability to set WP_HOME #92

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

qcfabrizio
Copy link

This allows for a user to override the value in the wp_options table
(useful for development instances) as well as reduce database calls on
production instances. This also applies to wp_site_url and so I have
added this use to the description for that parameter.

I have added in some whitespace cleanup for the wp_site_url and wp_home
tags in the wp-config.erb.php - it may be desirable to replicate this
with all of the if/end statements in both template files to avoid
unnecessary whitespace.

This allows for a user to override the value in the wp_options table
(useful for development instances) as well as reduce database calls on
production instances. This also applies to wp_site_url and so I have
added this use to the description for that parameter.

I have added in some whitespace cleanup for the wp_site_url and wp_home
tags in the wp-config.erb.php - it may be desirable to replicate this
with all of the if/end statements in both template files to avoid
unnecessary whitespace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant