From fccf28d6a85ebe79b11cc1d42353a95792ac8a09 Mon Sep 17 00:00:00 2001 From: Michael Wittig Date: Thu, 9 Nov 2023 13:55:23 +0100 Subject: [PATCH] [Improvement] wordpress/* - Update WordPress to 6.4.1 (#720) --- wordpress/wordpress-ha-aurora.yaml | 2 +- wordpress/wordpress-ha.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wordpress/wordpress-ha-aurora.yaml b/wordpress/wordpress-ha-aurora.yaml index aca38c12d..50d85da88 100644 --- a/wordpress/wordpress-ha-aurora.yaml +++ b/wordpress/wordpress-ha-aurora.yaml @@ -976,7 +976,7 @@ Resources: cd /var/www/html wget --quiet --timeout=60 --output-document=wp-cli.phar https://github.com/wp-cli/wp-cli/releases/download/v2.9.0/wp-cli-2.9.0.phar if ! php wp-cli.phar core is-installed --allow-root; then - php wp-cli.phar core download --allow-root --version=6.3.2 + php wp-cli.phar core download --allow-root --version=6.4.1 php wp-cli.phar core config --dbname='wordpress' --dbuser='wordpress' --dbpass='${DBMasterUserPassword}' --dbhost='${DBHost}' --allow-root php wp-cli.phar core install --url='https://${DomainName}' --title='${BlogTitle}' --admin_user='${BlogAdminUsername}' --admin_password='${BlogAdminPassword}' --admin_email='${BlogAdminEMail}' --skip-email --allow-root sed -i "/$table_prefix = 'wp_';/a\$_SERVER['HTTPS'] = 'on';" /var/www/html/wp-config.php diff --git a/wordpress/wordpress-ha.yaml b/wordpress/wordpress-ha.yaml index b1470c902..f91e0a79f 100644 --- a/wordpress/wordpress-ha.yaml +++ b/wordpress/wordpress-ha.yaml @@ -1108,7 +1108,7 @@ Resources: cd /var/www/html wget --quiet --timeout=60 --output-document=wp-cli.phar https://github.com/wp-cli/wp-cli/releases/download/v2.9.0/wp-cli-2.9.0.phar if ! php wp-cli.phar core is-installed --allow-root; then - php wp-cli.phar core download --allow-root --version=6.3.2 + php wp-cli.phar core download --allow-root --version=6.4.1 php wp-cli.phar core config --dbname='wordpress' --dbuser='wordpress' --dbpass='${DBMasterUserPassword}' --dbhost='${DBHost}' --allow-root php wp-cli.phar core install --url='https://${DomainName}' --title='${BlogTitle}' --admin_user='${BlogAdminUsername}' --admin_password='${BlogAdminPassword}' --admin_email='${BlogAdminEMail}' --skip-email --allow-root sed -i "/$table_prefix = 'wp_';/a\$_SERVER['HTTPS'] = 'on';" /var/www/html/wp-config.php