mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2024-11-27 09:45:06 +01:00
Update WordPress 5.4.2 -> 5.5.1
This commit is contained in:
parent
da253b5138
commit
52201b726d
|
@ -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
|
FROM wordpress:${WP_VERSION}-php7.4-fpm-alpine AS wordpress-builder
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
--- update-core.php 2020-10-04 19:03:07.898527934 +0200
|
--- update-core.php 2020-10-04 19:51:51.874573636 +0200
|
||||||
+++ update-core-mod.php 2020-10-04 19:04:59.434908923 +0200
|
+++ update-core-mod.php 2020-10-04 19:53:36.705858923 +0200
|
||||||
@@ -915,6 +915,11 @@
|
@@ -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.' ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
+ wp_die(
|
+ wp_die(
|
||||||
+ __( 'Sorry, you are not allowed to update this site.' ) .
|
+ __( '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.'
|
+ ' 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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user