Update WordPress 6.1.1 -> 6.2.0

This commit is contained in:
Aleksandar Puharic 2023-04-02 20:32:47 +02:00
parent e184127d38
commit 23192aaa94
Signed by: xZero707
GPG Key ID: 3CC53DCAA9C237BB
2 changed files with 24 additions and 2 deletions

View File

@ -1,5 +1,5 @@
group "default" { group "default" {
targets = ["5_9_0", "5_9_1", "5_9_2", "5_9_3", "6_0_0", "6_0_1", "6_0_2", "6_0_3", "6_1_0", "6_1_1"] targets = ["5_9_0", "5_9_1", "5_9_2", "5_9_3", "6_0_0", "6_0_1", "6_0_2", "6_0_3", "6_1_0", "6_1_1", "6_2_0"]
} }
target "build-dockerfile" { target "build-dockerfile" {
@ -88,8 +88,16 @@ target "6_1_0" {
target "6_1_1" { target "6_1_1" {
inherits = ["build-dockerfile", "build-platforms", "build-common"] inherits = ["build-dockerfile", "build-platforms", "build-common"]
tags = ["docker.io/nlss/wordpress:6", "docker.io/nlss/wordpress:6.1", "docker.io/nlss/wordpress:6.1.1", "docker.io/nlss/wordpress:latest"] tags = ["docker.io/nlss/wordpress:6.1", "docker.io/nlss/wordpress:6.1.1"]
args = { args = {
WP_VERSION = "6.1.1" WP_VERSION = "6.1.1"
} }
} }
target "6_2_0" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
tags = ["docker.io/nlss/wordpress:6", "docker.io/nlss/wordpress:6.2", "docker.io/nlss/wordpress:6.2.0", "docker.io/nlss/wordpress:latest"]
args = {
WP_VERSION = "6.2.0"
}
}

View File

@ -0,0 +1,14 @@
--- update-core.php 2023-04-02 20:27:00.420010509 +0200
+++ update-core.php 2023-04-02 20:28:07.478135707 +0200
@@ -1096,6 +1096,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" target="_blank">here</a> to learn why.'
+ );
+
check_admin_referer( 'upgrade-core' );
// Do the (un)dismiss actions before headers, so that they can redirect.