Commit b7cd17ce authored by Chris Croome's avatar Chris Croome

adde verify-checksums to wordpress update script

parent f1eebe72
Pipeline #10499 passed with stage
in 36 seconds
......@@ -36,6 +36,10 @@ if [[ -f "index.php" ]]; then
if [[ -f wp-config.php ]]; then
WP_INSTALL=$(${WP_CLI} core is-installed && echo True || echo False)
if [[ "${WP_INSTALL}" == "True" ]]; then
# Verify checksums
${WP_CLI} --quiet --no-color core verify-checksums
${WP_CLI} --quiet --no-color plugin verify-checksums --all
# Update
${WP_CLI} --quiet --no-color core update
${WP_CLI} --quiet --no-color language core update
${WP_CLI} --quiet --no-color theme update --all
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment