mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2024-11-27 06:30:07 +01:00
Update WordPress 5.9.0 -> 5.9.1
This commit is contained in:
parent
847352b62d
commit
fe4822ac1d
|
@ -1,5 +1,5 @@
|
||||||
group "default" {
|
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", "5.9.0"]
|
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", "5.9.1"]
|
||||||
}
|
}
|
||||||
|
|
||||||
target "build-dockerfile" {
|
target "build-dockerfile" {
|
||||||
|
@ -160,8 +160,16 @@ target "5.8.3" {
|
||||||
|
|
||||||
target "5.9.0" {
|
target "5.9.0" {
|
||||||
inherits = ["build-dockerfile", "build-platforms", "build-common"]
|
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"]
|
tags = ["docker.io/nlss/wordpress:5.9.0"]
|
||||||
args = {
|
args = {
|
||||||
WP_VERSION = "5.9.0"
|
WP_VERSION = "5.9.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
target "5.9.1" {
|
||||||
|
inherits = ["build-dockerfile", "build-platforms", "build-common"]
|
||||||
|
tags = ["docker.io/nlss/wordpress:5.9.1", "docker.io/nlss/wordpress:5.9", "docker.io/nlss/wordpress:latest"]
|
||||||
|
args = {
|
||||||
|
WP_VERSION = "5.9.1"
|
||||||
|
}
|
||||||
|
}
|
14
patches/5.9.1/wp-admin-update-core.patch
Normal file
14
patches/5.9.1/wp-admin-update-core.patch
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
--- update-core.php 2022-03-22 19:15:01.962186337 +0100
|
||||||
|
+++ update-core.php 2022-03-22 19:16:36.812330627 +0100
|
||||||
|
@@ -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">here</a> to learn why.'
|
||||||
|
+ );
|
||||||
|
+
|
||||||
|
check_admin_referer( 'upgrade-core' );
|
||||||
|
|
||||||
|
// Do the (un)dismiss actions before headers, so that they can redirect.
|
Loading…
Reference in New Issue
Block a user