From 5d591330fd78f905b20d1e13d4085fb66b0239a3 Mon Sep 17 00:00:00 2001 From: xZero707 Date: Sun, 12 May 2024 23:37:14 +0200 Subject: [PATCH] Update WordPress to 6.5.0 --- build/docker-bake.hcl | 13 +++++++++++-- patches/6.5.0/wp-admin-update-core.patch | 14 ++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 patches/6.5.0/wp-admin-update-core.patch diff --git a/build/docker-bake.hcl b/build/docker-bake.hcl index c6fa56c..948761a 100644 --- a/build/docker-bake.hcl +++ b/build/docker-bake.hcl @@ -20,7 +20,8 @@ group "default" { "6_4_0", "6_4_1", "6_4_2", - "6_4_3" + "6_4_3", + "6_5_0" ] } @@ -256,6 +257,14 @@ target "6_4_3" { inherits = ["build-dockerfile", "build-platforms", "build-common"] cache-from = get-cache-from("6.4.3") cache-to = get-cache-to("6.4.3") - tags = get-tags("6.4.3", ["6", "6.4", "latest"]) + tags = get-tags("6.4.3", ["6.4"]) args = get-args("6.4.3", "6.4.0") +} + +target "6_5_0" { + inherits = ["build-dockerfile", "build-platforms", "build-common"] + cache-from = get-cache-from("6.5.0") + cache-to = get-cache-to("6.5.0") + tags = get-tags("6.5.0", ["6", "6.5", "latest"]) + args = get-args("6.5.0", "6.5.0") } \ No newline at end of file diff --git a/patches/6.5.0/wp-admin-update-core.patch b/patches/6.5.0/wp-admin-update-core.patch new file mode 100644 index 0000000..2445d07 --- /dev/null +++ b/patches/6.5.0/wp-admin-update-core.patch @@ -0,0 +1,14 @@ +--- update-core.php 2024-05-12 23:33:34.405330883 +0200 ++++ update-core.php 2024-05-12 23:33:54.551751539 +0200 +@@ -1155,6 +1155,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.