diff --git a/build/docker-bake.hcl b/build/docker-bake.hcl index d1a07ac..13c1a92 100644 --- a/build/docker-bake.hcl +++ b/build/docker-bake.hcl @@ -230,5 +230,5 @@ target "6_4_0" { cache-from = get-cache-from("6.4.0") cache-to = get-cache-to("6.4.0") tags = get-tags("6.4.0", ["6", "6.4", "latest"]) - args = get-args("6.4.0", "6.3.0") -} + args = get-args("6.4.0", "6.4.0") +} \ No newline at end of file diff --git a/patches/6.4.0/wp-admin-update-core.patch b/patches/6.4.0/wp-admin-update-core.patch new file mode 100644 index 0000000..c6483ce --- /dev/null +++ b/patches/6.4.0/wp-admin-update-core.patch @@ -0,0 +1,14 @@ +--- update-core.php 2024-05-12 23:12:04.606527072 +0200 ++++ update-core.php 2024-05-12 23:18:40.981751231 +0200 +@@ -1148,6 +1148,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.