Skip to content

Commit

Permalink
[Security] wordpress/* - Update WordPress to 5.2.4 https://wordpress.…
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwittig committed Oct 15, 2019
1 parent b0d7021 commit 9e1288f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wordpress/wordpress-ha-aurora.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ Resources:
cd /var/www/html
wget -q -T 60 https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
if ! php wp-cli.phar core is-installed --allow-root; then
php wp-cli.phar core download --allow-root --version=5.2.3
php wp-cli.phar core download --allow-root --version=5.2.4
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
Expand Down
2 changes: 1 addition & 1 deletion wordpress/wordpress-ha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ Resources:
cd /var/www/html
wget -q -T 60 https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
if ! php wp-cli.phar core is-installed --allow-root; then
php wp-cli.phar core download --allow-root --version=5.2.3
php wp-cli.phar core download --allow-root --version=5.2.4
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
Expand Down

0 comments on commit 9e1288f

Please sign in to comment.