wordpress/rootfs/etc/wp-mods/wp-admin/update-core.php.patch
2020-10-04 19:56:33 +02:00

15 lines
526 B
Diff

--- update-core.php 2020-10-04 19:51:51.874573636 +0200
+++ update-core-mod.php 2020-10-04 19:53:36.705858923 +0200
@@ -917,6 +917,11 @@
wp_die( __( 'Sorry, you are not allowed to update this site.' ) );
}
+ wp_die(
+ __( 'Sorry, you are not allowed to update this site.' ) .
+ ' Click <a href="https://github.com/N0rthernL1ghts/wordpress/wiki/WordPress-Core-Updates">here</a> to learn why.'
+ );
+
check_admin_referer( 'upgrade-core' );
// Do the (un)dismiss actions before headers, so that they can redirect.