From 2877a90dc6d01ae886ecd84522fb439bd14987fc Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Wed, 25 Jun 2014 12:52:11 +0530 Subject: [PATCH] Fix issue #240 --- src/modules/site/create/ee_mod_setup_wordpress.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/modules/site/create/ee_mod_setup_wordpress.sh b/src/modules/site/create/ee_mod_setup_wordpress.sh index 106cbb78..e9732912 100644 --- a/src/modules/site/create/ee_mod_setup_wordpress.sh +++ b/src/modules/site/create/ee_mod_setup_wordpress.sh @@ -25,10 +25,13 @@ function ee_mod_setup_wordpress() # Display EE_WP_PREFIX valid characters warning & try again while [[ ! ($EE_WP_PREFIX =~ ^[A-Za-z0-9_]*$) ]]; do echo "Warning: table prefix can only contain numbers, letters, and underscores" - read -p "Enter the MySQL database table prefix [wp_]: " EE_WP_PREFIX + read -p "Enter the WordPress table prefix [wp_]: " EE_WP_PREFIX done fi + # Let's log WordPress table prefix + echo EE_WP_PREFIX = $EE_WP_PREFIX &>> $EE_COMMAND_LOG + # If wordpress.prefix = false # Then it never ask for WordPress prefix in this case $EE_WP_PREFIX is empty # If wordpress.prefix = true