Restore support for WordPress 5.6.2

This commit is contained in:
xZero707 2021-09-23 17:48:27 +02:00
parent 6e78e79fa7
commit 6e06ffca51
2 changed files with 15 additions and 1 deletions

View File

@ -21,4 +21,4 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build image
run: build/bin/build "5.3.0 5.3.1 5.3.2 5.4.0 5.4.1 5.4.2 5.5.1 5.5.3 5.6.0 5.6.1 5.7.0 5.7.1 5.7.2 5.8.0" "5.8.0"
run: build/bin/build "5.3.0 5.3.1 5.3.2 5.4.0 5.4.1 5.4.2 5.5.1 5.5.3 5.6.0 5.6.1 5.6.2 5.7.0 5.7.1 5.7.2 5.8.0" "5.8.0"

View File

@ -0,0 +1,14 @@
--- update-core.php 2021-09-23 17:45:05.840053045 +0200
+++ update-core.php 2021-09-23 17:45:49.880346653 +0200
@@ -1049,6 +1049,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.