mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2024-11-30 13:18:07 +01:00
15 lines
524 B
Diff
15 lines
524 B
Diff
|
--- update-core.php 2022-11-02 21:28:47.121321629 +0100
|
||
|
+++ update-core.php 2022-11-02 21:31:38.007567026 +0100
|
||
|
@@ -1096,6 +1096,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.
|