From 758e5a3c83936caf31178b7232e47740008fe232 Mon Sep 17 00:00:00 2001 From: xZero707 Date: Thu, 23 Sep 2021 17:00:56 +0200 Subject: [PATCH] Restore support for WordPress 5.3.2 --- patches/5.3.2/wp-admin-update-core.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 patches/5.3.2/wp-admin-update-core.patch diff --git a/patches/5.3.2/wp-admin-update-core.patch b/patches/5.3.2/wp-admin-update-core.patch new file mode 100644 index 0000000..3b6ad82 --- /dev/null +++ b/patches/5.3.2/wp-admin-update-core.patch @@ -0,0 +1,14 @@ +--- update-core.php 2021-09-23 16:58:19.816936501 +0200 ++++ update-core.php 2021-09-23 16:59:47.230959411 +0200 +@@ -797,6 +797,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.