forked from coop-cloud/wordpress
fix locale: replace deprecated function
This commit is contained in:
2
abra.sh
2
abra.sh
@ -16,7 +16,7 @@ core_install(){
|
||||
chown www-data:www-data /var/www/html/wp-content
|
||||
wp "core install --url=$DOMAIN --title=\"$TITLE\" --admin_user=$ADMIN --admin_email=$ADMIN_EMAIL --locale=$LOCALE --skip-email"
|
||||
wp "language core install $LOCALE"
|
||||
wp "language core activate $LOCALE"
|
||||
wp "site switch-language $LOCALE"
|
||||
wp "rewrite structure '/%year%/%monthnum%/%day%/%postname%/'"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user