mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2024-11-30 12:08:11 +01:00
Update WordPress 6.2.1 -> 6.2.2
This commit is contained in:
parent
a9ab27db1b
commit
f038f0e042
|
@ -11,7 +11,8 @@ group "default" {
|
||||||
"6_1_0",
|
"6_1_0",
|
||||||
"6_1_1",
|
"6_1_1",
|
||||||
"6_2_0",
|
"6_2_0",
|
||||||
"6_2_1"
|
"6_2_1",
|
||||||
|
"6_2_2"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -174,6 +175,14 @@ target "6_2_1" {
|
||||||
inherits = ["build-dockerfile", "build-platforms", "build-common"]
|
inherits = ["build-dockerfile", "build-platforms", "build-common"]
|
||||||
cache-from = get-cache-from("6.2.1")
|
cache-from = get-cache-from("6.2.1")
|
||||||
cache-to = get-cache-to("6.2.1")
|
cache-to = get-cache-to("6.2.1")
|
||||||
tags = get-tags("6.2.1", ["6", "6.2", "latest"])
|
tags = get-tags("6.2.1", [])
|
||||||
args = get-args("6.2.1")
|
args = get-args("6.2.1")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
target "6_2_2" {
|
||||||
|
inherits = ["build-dockerfile", "build-platforms", "build-common"]
|
||||||
|
cache-from = get-cache-from("6.2.2")
|
||||||
|
cache-to = get-cache-to("6.2.2")
|
||||||
|
tags = get-tags("6.2.2", ["6", "6.2", "latest"])
|
||||||
|
args = get-args("6.2.2")
|
||||||
|
}
|
||||||
|
|
14
patches/6.2.2/wp-admin-update-core.patch
Normal file
14
patches/6.2.2/wp-admin-update-core.patch
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
--- update-core.php 2023-08-06 22:01:15.849226997 +0200
|
||||||
|
+++ update-core.php 2023-08-06 22:02:42.945892647 +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.
|
Loading…
Reference in New Issue
Block a user