From a693e75e323c076ca72bc7c08b1fd3b2b02b061f Mon Sep 17 00:00:00 2001 From: Roy Orbitson Date: Wed, 9 Aug 2023 11:21:06 +0930 Subject: [PATCH] No-verify plugin breaks others Does not need to block other plugins from using the head() method. --- changes.txt | 1 + plugins/version-noverify.php | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/changes.txt b/changes.txt index 997fd102..91c3c335 100644 --- a/changes.txt +++ b/changes.txt @@ -7,6 +7,7 @@ Adminer 4.9.0-dev: - Add new Elasticsearch 7 driver. - Set saving to file as a default export option. - Improve URL and email detection. +- Fix AdminerVersionNoverify plugin blocking other plugins to modify HTML head. - Update composer.json. Adminer 4.8.2 (released 2024-03-16): diff --git a/plugins/version-noverify.php b/plugins/version-noverify.php index 8d486b54..cbf79d8e 100644 --- a/plugins/version-noverify.php +++ b/plugins/version-noverify.php @@ -7,10 +7,9 @@ * @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other) */ class AdminerVersionNoverify { - + function head() { echo script("verifyVersion = function () {};"); - return true; } - + }