diff --git a/ee/cli/plugins/site.py b/ee/cli/plugins/site.py index 8017ebe2..a7415a33 100644 --- a/ee/cli/plugins/site.py +++ b/ee/cli/plugins/site.py @@ -1314,14 +1314,14 @@ class EESiteUpdateController(CementBaseController): wpconfig = open("{0}/wp-config.php".format(ee_site_webroot), encoding='utf-8', mode='a') wpconfig.write("\n\ndefine( \'WP_CACHE_KEY_SALT\', \'{0}:\' );" - .format(ee_domain)) + .format(ee_domain)) wpconfig.close() except IOError as e: Log.debug(self, str(e)) Log.debug(self, "Editing wp-config.php failed.") Log.info(self, Log.FAIL + "Editing wp-config failed. " - "Could not append:" - " define( 'WP_CACHE_KEY_SALT', '{sitename}:' );") + "Could not append:" + " define( \'WP_CACHE_KEY_SALT\', \'{0}:\' );".format(ee_domain)) except SiteError as e: Log.debug(self, str(e))