mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2025-12-09 00:12:40 +01:00
Update WordPress 5.9.0 -> 5.9.1
This commit is contained in:
14
patches/5.9.1/wp-admin-update-core.patch
Normal file
14
patches/5.9.1/wp-admin-update-core.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
--- update-core.php 2022-03-22 19:15:01.962186337 +0100
|
||||
+++ update-core.php 2022-03-22 19:16:36.812330627 +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.
|
||||
Reference in New Issue
Block a user