diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 07:56:53 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 07:56:53 +0000 |
commit | a9c818418b81b93680170e1a84d4e221e578ad2f (patch) | |
tree | 5b883aa428f1edb12f5d40f9768438ee16a7ed6b /debian/patches/016hiding_update_information.patch | |
parent | Adding upstream version 6.4.3+dfsg1. (diff) | |
download | wordpress-a9c818418b81b93680170e1a84d4e221e578ad2f.tar.xz wordpress-a9c818418b81b93680170e1a84d4e221e578ad2f.zip |
Adding debian version 6.4.3+dfsg1-1.debian/6.4.3+dfsg1-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/016hiding_update_information.patch')
-rw-r--r-- | debian/patches/016hiding_update_information.patch | 18 |
1 files changed, 18 insertions, 0 deletions
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 <katharina.drexel@bfh.ch> +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. |