diff --git a/debug-bar-panel.php b/debug-bar-panel.php index 477fa84..818cfa0 100644 --- a/debug-bar-panel.php +++ b/debug-bar-panel.php @@ -34,7 +34,10 @@ class PluginUpdateCheckerPanel extends Debug_Bar_Panel { $this->row('Slug', htmlentities($this->updateChecker->slug)); $this->row('DB option', htmlentities($this->updateChecker->optionName)); - $requestInfoButton = function_exists('get_submit_button') ? get_submit_button('Request Info', 'secondary', 'puc-request-info-button', false) : ''; + $requestInfoButton = ''; + if ( function_exists('get_submit_button') ) { + $requestInfoButton = get_submit_button('Request Info', 'secondary', 'puc-request-info-button', false, array('id' => 'puc-request-info-button-'.$this->updateChecker->slug)); + } $this->row('Metadata URL', htmlentities($this->updateChecker->metadataUrl) . ' ' . $requestInfoButton . $responseBox); if ( $this->updateChecker->checkPeriod > 0 ) { @@ -62,7 +65,10 @@ class PluginUpdateCheckerPanel extends Debug_Bar_Panel { echo '