Skip to content

Commit 0a9550b

Browse files
committed
WP-CLI version 0.14.0 doesnt allow --allow-root on rewrite structure command, FYI: wp-cli/wp-cli#1043
1 parent 976ebc1 commit 0a9550b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

usr/local/sbin/easyengine

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,10 +1021,11 @@ EEWPDBSETUP()
10211021
--admin_name=$WPADMINUSER --admin_password=$WPADMINPASS --admin_email=$WPADMINEMAIL &>> $INSTALLLOG \
10221022
|| OwnError "Unable To Create WordPress Tables For $DOMAIN"
10231023

1024-
# Update WordPress Permalink Structure, Day and Postname
1025-
echo -e "\033[34mUpdating WordPress Permalink, Please Wait...\e[0m"
1026-
wp rewrite structure /%year%/%monthnum%/%day%/%postname%/ \
1027-
|| OwnError "Unable To Update WordPress Permalink For $DOMAIN"
1024+
# https://github.com/wp-cli/wp-cli/issues/1043
1025+
# Update WordPress Permalink Structure Day and Postname
1026+
#echo -e "\033[34mUpdating WordPress Permalink, Please Wait...\e[0m"
1027+
#wp rewrite structure --allow-root /%year%/%monthnum%/%day%/%postname%/ \
1028+
#|| OwnError "Unable To Update WordPress Permalink For $DOMAIN"
10281029
}
10291030

10301031
EEPERMISSION()

0 commit comments

Comments
 (0)