Update WordPress 5.4.2 -> 5.5.1

This commit is contained in:
xZero707 2020-10-04 19:56:33 +02:00
parent da253b5138
commit 52201b726d
2 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
ARG WP_VERSION=5.4.2
ARG WP_VERSION=5.5.1
FROM wordpress:${WP_VERSION}-php7.4-fpm-alpine AS wordpress-builder
USER root

View File

@ -1,14 +1,14 @@
--- update-core.php 2020-10-04 19:03:07.898527934 +0200
+++ update-core-mod.php 2020-10-04 19:04:59.434908923 +0200
@@ -915,6 +915,11 @@
--- update-core.php 2020-10-04 19:51:51.874573636 +0200
+++ update-core-mod.php 2020-10-04 19:53:36.705858923 +0200
@@ -917,6 +917,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.'
+ );
+ 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-translations' );
check_admin_referer( 'upgrade-core' );
require_once ABSPATH . 'wp-admin/admin-header.php';
// Do the (un)dismiss actions before headers, so that they can redirect.