From 9d42ef57ce15d0a0f8679d4f437ced7fa018e954 Mon Sep 17 00:00:00 2001 From: Prabuddha Chakraborty Date: Wed, 6 Jan 2016 18:51:52 +0530 Subject: [PATCH] Warning msg in wp subdomain --- ee/cli/plugins/site.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ee/cli/plugins/site.py b/ee/cli/plugins/site.py index 440757ae..1be91214 100644 --- a/ee/cli/plugins/site.py +++ b/ee/cli/plugins/site.py @@ -730,6 +730,9 @@ class EESiteCreateController(CementBaseController): if self.app.pargs.letsencrypt : if (not self.app.pargs.experimental): + if stype in ['wpsubdomain']: + Log.warn(self, "Wildcard domains are not supported in Lets Encrypt.\nWP SUBDOMAIN site will get SSL for primary site only.") + Log.info(self, "Letsencrypt is currently in beta phase." " \nDo you wish" " to enable SSl now for {0}?".format(ee_domain)) @@ -1218,8 +1221,8 @@ class EESiteUpdateController(CementBaseController): if (not pargs.experimental): - if stype in ['wpsubdomain']: - Log.warn(self, "Wildcard domains are not supported.\nWP SUBDOMAIN sites may not be compatible with Lets Encrypt.") + if oldsitetype in ['wpsubdomain']: + Log.warn(self, "Wildcard domains are not supported in Lets Encrypt.\nWP SUBDOMAIN site will get SSL for primary site only.") Log.info(self, "Letsencrypt is currently in beta phase." " \nDo you wish"