pb wordpress
This commit is contained in:
@ -62,21 +62,23 @@ wp core multisite-install \
|
||||
--skip-email
|
||||
|
||||
# Switch language
|
||||
echo "== Switch languange"
|
||||
wp language core install fr_FR
|
||||
wp site switch-language fr_FR
|
||||
|
||||
# Install plugin
|
||||
if [[ "${MODE_AUTH}" == "CAS" && "${CAS_ACTIVATE}" == "1" ]]
|
||||
then
|
||||
wp plugin install wp-cassify
|
||||
wp plugin activate wp-cassify --network
|
||||
else
|
||||
wp plugin delete wp-cassify
|
||||
fi
|
||||
#if [[ "${MODE_AUTH}" == "CAS" && "${CAS_ACTIVATE}" == "1" ]]
|
||||
#then
|
||||
# wp plugin install wp-cassify
|
||||
# wp plugin activate wp-cassify --network
|
||||
#else
|
||||
# wp plugin delete wp-cassify
|
||||
#fi
|
||||
|
||||
# Mise à jour theme / plugin / network
|
||||
wp theme update --allow-root --all
|
||||
wp plugin update --allow-root --all
|
||||
wp language core update
|
||||
wp language core update
|
||||
wp language theme update --all
|
||||
wp language plugin update --all
|
||||
|
||||
|
Reference in New Issue
Block a user