Skip to content

Commit 9d42ef5

Browse files
committed
Warning msg in wp subdomain
1 parent 2a09e01 commit 9d42ef5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

ee/cli/plugins/site.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -730,6 +730,9 @@ def default(self):
730730

731731
if self.app.pargs.letsencrypt :
732732
if (not self.app.pargs.experimental):
733+
if stype in ['wpsubdomain']:
734+
Log.warn(self, "Wildcard domains are not supported in Lets Encrypt.\nWP SUBDOMAIN site will get SSL for primary site only.")
735+
733736
Log.info(self, "Letsencrypt is currently in beta phase."
734737
" \nDo you wish"
735738
" to enable SSl now for {0}?".format(ee_domain))
@@ -1218,8 +1221,8 @@ def doupdatesite(self, pargs):
12181221

12191222
if (not pargs.experimental):
12201223

1221-
if stype in ['wpsubdomain']:
1222-
Log.warn(self, "Wildcard domains are not supported.\nWP SUBDOMAIN sites may not be compatible with Lets Encrypt.")
1224+
if oldsitetype in ['wpsubdomain']:
1225+
Log.warn(self, "Wildcard domains are not supported in Lets Encrypt.\nWP SUBDOMAIN site will get SSL for primary site only.")
12231226

12241227
Log.info(self, "Letsencrypt is currently in beta phase."
12251228
" \nDo you wish"

0 commit comments

Comments
 (0)