diff --git a/patches/5.4.1/wp-admin-update-core.patch b/patches/5.4.1/wp-admin-update-core.patch new file mode 100644 index 0000000..b89d66f --- /dev/null +++ b/patches/5.4.1/wp-admin-update-core.patch @@ -0,0 +1,15 @@ +--- update-core.php 2021-09-23 16:50:35.486851925 +0200 ++++ update-core.php 2021-09-23 16:52:57.917876553 +0200 +@@ -801,6 +801,12 @@ + 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.