diff --git a/Dockerfile b/Dockerfile index e366a67..4be13a4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/rootfs/etc/wp-mods/wp-admin/update-core.php.patch b/rootfs/etc/wp-mods/wp-admin/update-core.php.patch index 3cf0767..6b4b9e4 100644 --- a/rootfs/etc/wp-mods/wp-admin/update-core.php.patch +++ b/rootfs/etc/wp-mods/wp-admin/update-core.php.patch @@ -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 here to learn why.' -+ ); ++ wp_die( ++ __( 'Sorry, you are not allowed to update this site.' ) . ++ ' Click here 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.