mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2024-11-23 14:13:27 +01:00
Restore support for WordPress 5.3.2
This commit is contained in:
parent
5f91444ffe
commit
758e5a3c83
14
patches/5.3.2/wp-admin-update-core.patch
Normal file
14
patches/5.3.2/wp-admin-update-core.patch
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
--- update-core.php 2021-09-23 16:58:19.816936501 +0200
|
||||||
|
+++ update-core.php 2021-09-23 16:59:47.230959411 +0200
|
||||||
|
@@ -797,6 +797,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.
|
Loading…
Reference in New Issue
Block a user