From 9f82dcf635fc4ed100ea2f516647b922e34b55f9 Mon Sep 17 00:00:00 2001 From: xZero707 Date: Fri, 22 Sep 2023 21:04:01 +0200 Subject: [PATCH] Update WordPress 6.2.2 -> 6.3.0 --- build/docker-bake.hcl | 13 +++++++++++-- patches/6.3.0/wp-admin-update-core.patch | 14 ++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 patches/6.3.0/wp-admin-update-core.patch diff --git a/build/docker-bake.hcl b/build/docker-bake.hcl index b8d0cfa..deb4fe9 100644 --- a/build/docker-bake.hcl +++ b/build/docker-bake.hcl @@ -12,7 +12,8 @@ group "default" { "6_1_1", "6_2_0", "6_2_1", - "6_2_2" + "6_2_2", + "6_3_0" ] } @@ -184,6 +185,14 @@ 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"]) + tags = get-tags("6.2.2", ["6.2"]) args = get-args("6.2.2", "5.9.1") } + +target "6_3_0" { + inherits = ["build-dockerfile", "build-platforms", "build-common"] + cache-from = get-cache-from("6.3.0") + cache-to = get-cache-to("6.3.0") + tags = get-tags("6.3.0", ["6", "6.3", "latest"]) + args = get-args("6.3.0", "6.3.0") +} diff --git a/patches/6.3.0/wp-admin-update-core.patch b/patches/6.3.0/wp-admin-update-core.patch new file mode 100644 index 0000000..63e9264 --- /dev/null +++ b/patches/6.3.0/wp-admin-update-core.patch @@ -0,0 +1,14 @@ +--- update-core.php 2023-09-22 20:48:32.331308554 +0200 ++++ update-core.php 2023-09-22 20:49:26.927349080 +0200 +@@ -1131,6 +1131,11 @@ + wp_die( __( 'Sorry, you are not allowed to update this site.' ) ); + } + ++ wp_die( ++ __( 'Sorry, you are not allowed to update this site.' ) . ++ ' Click here to learn why.' ++ ); ++ + check_admin_referer( 'upgrade-core' ); + + // Do the (un)dismiss actions before headers, so that they can redirect.