From 1905ed84dd11bcc1c443a7f59bc5184cae074098 Mon Sep 17 00:00:00 2001 From: Yahnis Elsts Date: Tue, 3 Jan 2017 13:37:43 +0200 Subject: [PATCH] Add API client class name to the debug panel. --- Puc/v4/Vcs/PluginUpdateChecker.php | 1 + Puc/v4/Vcs/ThemeUpdateChecker.php | 1 + 2 files changed, 2 insertions(+) diff --git a/Puc/v4/Vcs/PluginUpdateChecker.php b/Puc/v4/Vcs/PluginUpdateChecker.php index 29c0207..68232d1 100644 --- a/Puc/v4/Vcs/PluginUpdateChecker.php +++ b/Puc/v4/Vcs/PluginUpdateChecker.php @@ -191,6 +191,7 @@ if ( !class_exists('Puc_v4_Vcs_PluginUpdateChecker') ): parent::onDisplayConfiguration($panel); $panel->row('Branch', $this->branch); $panel->row('Authentication enabled', $this->api->isAuthenticationEnabled() ? 'Yes' : 'No'); + $panel->row('API client', get_class($this->api)); } } diff --git a/Puc/v4/Vcs/ThemeUpdateChecker.php b/Puc/v4/Vcs/ThemeUpdateChecker.php index 0e40d9b..1f54651 100644 --- a/Puc/v4/Vcs/ThemeUpdateChecker.php +++ b/Puc/v4/Vcs/ThemeUpdateChecker.php @@ -94,6 +94,7 @@ if ( !class_exists('Puc_v4_Vcs_ThemeUpdateChecker', false) ): parent::onDisplayConfiguration($panel); $panel->row('Branch', $this->branch); $panel->row('Authentication enabled', $this->api->isAuthenticationEnabled() ? 'Yes' : 'No'); + $panel->row('API client', get_class($this->api)); } }