Skip to content

Add the ability to set WP_HOME#92

Open
qcfabrizio wants to merge 1 commit intohunner:mainfrom
quadraturecapital:wp_home
Open

Add the ability to set WP_HOME#92
qcfabrizio wants to merge 1 commit intohunner:mainfrom
quadraturecapital:wp_home

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