mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2025-12-09 11:32:41 +01:00
Update WordPress 6.2.2 -> 6.3.0
This commit is contained in:
14
patches/6.3.0/wp-admin-update-core.patch
Normal file
14
patches/6.3.0/wp-admin-update-core.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
--- update-core.php 2023-09-22 20:48:32.331308554 +0200
|
||||
+++ update-core.php 2023-09-22 20:49:26.927349080 +0200
|
||||
@@ -1131,6 +1131,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" target="_blank">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