mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2024-11-23 10:51:10 +01:00
Add build for missing minor versions 5.7.1 and 5.7.2
This commit is contained in:
parent
e0e39cf3d3
commit
5aa94866ae
2
.github/workflows/image.yml
vendored
2
.github/workflows/image.yml
vendored
|
@ -21,4 +21,4 @@ jobs:
|
|||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
- name: Build image
|
||||
run: build/bin/build "5.4.2 5.5.1 5.5.3 5.6.0 5.6.1 5.7.0 5.8.0" "5.8.0"
|
||||
run: build/bin/build "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"
|
14
patches/5.7.1/wp-admin-update-core.patch
Normal file
14
patches/5.7.1/wp-admin-update-core.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
--- update-core.php 2021-03-19 19:23:29.391214787 +0100
|
||||
+++ update-core.php 2021-03-19 19:26:23.798962792 +0100
|
||||
@@ -1050,6 +1050,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.
|
14
patches/5.7.2/wp-admin-update-core.patch
Normal file
14
patches/5.7.2/wp-admin-update-core.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
--- update-core.php 2021-05-28 21:04:43.647362531 +0200
|
||||
+++ update-core.php 2021-05-28 21:05:44.224559161 +0200
|
||||
@@ -1050,6 +1050,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