mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2024-11-30 10:58:08 +01:00
15 lines
547 B
Diff
15 lines
547 B
Diff
--- update-core.php 2020-10-04 19:03:07.898527934 +0200
|
|
+++ update-core-mod.php 2020-10-04 19:04:59.434908923 +0200
|
|
@@ -915,6 +915,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-translations' );
|
|
|
|
require_once ABSPATH . 'wp-admin/admin-header.php';
|