From a9c818418b81b93680170e1a84d4e221e578ad2f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 09:56:53 +0200 Subject: Adding debian version 6.4.3+dfsg1-1. Signed-off-by: Daniel Baumann --- debian/patches/016hiding_update_information.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 debian/patches/016hiding_update_information.patch (limited to 'debian/patches/016hiding_update_information.patch') diff --git a/debian/patches/016hiding_update_information.patch b/debian/patches/016hiding_update_information.patch new file mode 100644 index 0000000..bd8aa47 --- /dev/null +++ b/debian/patches/016hiding_update_information.patch @@ -0,0 +1,18 @@ +Description: Do not show "your version is up-to-date" when this information is wrong (Closes #1001623) +Author: Katharina Drexel +Last-Update: 2021-12-15 +--- a/wp-admin/update-core.php ++++ b/wp-admin/update-core.php +@@ -243,6 +243,12 @@ + * @since 2.7.0 + */ + function core_upgrade_preamble() { ++ if (!defined('WP_AUTO_UPDATE_CORE')) ++ define('WP_AUTO_UPDATE_CORE', true); ++ ++ if ( false === WP_AUTO_UPDATE_CORE ) ++ return; ++ + $updates = get_core_updates(); + + // Include an unmodified $wp_version. -- cgit v1.2.3