Update WordPress 6.0.1 -> 6.0.2

This commit is contained in:
2022-09-10 03:39:04 +02:00
parent ee02010bb1
commit c60a436d89
2 changed files with 24 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
--- update-core.php 2022-09-10 03:36:26.120553829 +0200
+++ update-core.php 2022-09-10 03:37:29.638236917 +0200
@@ -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.