From bc58a06e4dae96c819c16af2fb5066c8a0051a36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Dost=C3=A1l?= Date: Thu, 14 Nov 2019 20:06:51 +0100 Subject: [PATCH] Better $_GET param name for debug --- src/Settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Settings.php b/src/Settings.php index 4f25493..79a02d9 100644 --- a/src/Settings.php +++ b/src/Settings.php @@ -390,7 +390,7 @@ public function hide_when_invalid_keys() { } public function show_endpoint_url_when_flagged() { - if ( $_GET['edit_url_endpoint'] == 'yes' ) { + if ( isset($_GET['debug']) ) { return []; }