mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2024-11-27 08:38:26 +01:00
Update WordPress 6.0.3 -> 6.1.0
This commit is contained in:
parent
8d737c58c7
commit
2fd59fe292
|
@ -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", "5_9_1", "5_9_2", "5_9_3", "6_0_0", "6_0_1", "6_0_2", "6_0_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", "5_9_1", "5_9_2", "5_9_3", "6_0_0", "6_0_1", "6_0_2", "6_0_3", "6_1_0"]
|
||||||
}
|
}
|
||||||
|
|
||||||
target "build-dockerfile" {
|
target "build-dockerfile" {
|
||||||
|
@ -216,8 +216,16 @@ target "6_0_2" {
|
||||||
|
|
||||||
target "6_0_3" {
|
target "6_0_3" {
|
||||||
inherits = ["build-dockerfile", "build-platforms", "build-common"]
|
inherits = ["build-dockerfile", "build-platforms", "build-common"]
|
||||||
tags = ["docker.io/nlss/wordpress:6.0.3", "docker.io/nlss/wordpress:6.0", "docker.io/nlss/wordpress:latest"]
|
tags = ["docker.io/nlss/wordpress:6.0.3"]
|
||||||
args = {
|
args = {
|
||||||
WP_VERSION = "6.0.3"
|
WP_VERSION = "6.0.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
target "6_1_0" {
|
||||||
|
inherits = ["build-dockerfile", "build-platforms", "build-common"]
|
||||||
|
tags = ["docker.io/nlss/wordpress:6.1.0", "docker.io/nlss/wordpress:6.1", "docker.io/nlss/wordpress:latest"]
|
||||||
|
args = {
|
||||||
|
WP_VERSION = "6.1.0"
|
||||||
|
}
|
||||||
|
}
|
14
patches/6.1.0/wp-admin-update-core.patch
Normal file
14
patches/6.1.0/wp-admin-update-core.patch
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
--- update-core.php 2022-11-02 21:35:23.068067797 +0100
|
||||||
|
+++ update-core.php 2022-11-02 21:36:03.955439331 +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