Update WordPress 5.8.3 -> 5.9.0

This commit is contained in:
Aleksandar Puharic 2022-02-03 19:50:56 +01:00
parent 1f20e06727
commit 847352b62d
Signed by: xZero707
GPG Key ID: 3CC53DCAA9C237BB
3 changed files with 25 additions and 3 deletions

View File

@ -1,5 +1,5 @@
ARG PHP_VERSION=7.4
ARG WP_VERSION=5.8.0
ARG WP_VERSION=5.9.0
# WP CLI
FROM --platform=${TARGETPLATFORM} wordpress:cli-php${PHP_VERSION} AS wp-cli

View File

@ -1,5 +1,5 @@
group "default" {
targets = ["5.3.0", "5.3.1", "5.3.2", "5.4.0", "5.4.1", "5.4.2", "5.5.1", "5.5.3", "5.6.0", "5.6.1", "5.6.2", "5.7.0", "5.7.1", "5.7.2", "5.8.0", "5.8.1", "5.8.2", "5.8.3"]
targets = ["5.3.0", "5.3.1", "5.3.2", "5.4.0", "5.4.1", "5.4.2", "5.5.1", "5.5.3", "5.6.0", "5.6.1", "5.6.2", "5.7.0", "5.7.1", "5.7.2", "5.8.0", "5.8.1", "5.8.2", "5.8.3", "5.9.0"]
}
target "build-dockerfile" {
@ -152,8 +152,16 @@ target "5.8.2" {
target "5.8.3" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
tags = ["docker.io/nlss/wordpress:5.8.3", "docker.io/nlss/wordpress:5.8", "docker.io/nlss/wordpress:latest"]
tags = ["docker.io/nlss/wordpress:5.8.3", "docker.io/nlss/wordpress:5.8"]
args = {
WP_VERSION = "5.8.3"
}
}
target "5.9.0" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
tags = ["docker.io/nlss/wordpress:5.9.0", "docker.io/nlss/wordpress:5.9", "docker.io/nlss/wordpress:latest"]
args = {
WP_VERSION = "5.9.0"
}
}

View File

@ -0,0 +1,14 @@
--- update-core.php 2022-02-03 19:41:16.566727872 +0100
+++ update-core.php 2022-02-03 19:44:43.875250278 +0100
@@ -1088,6 +1088,11 @@
wp_die( __( 'Sorry, you are not allowed to update this site.' ) );
}
+ wp_die(
+ __( 'Sorry, you are not allowed to update this site.' ) .
+ ' Click <a href="https://github.com/N0rthernL1ghts/wordpress/wiki/WordPress-Core-Updates">here</a> to learn why.'
+ );
+
check_admin_referer( 'upgrade-core' );
// Do the (un)dismiss actions before headers, so that they can redirect.