orgen-theme/theme-update-checker/Puc/v4p8/DebugBar/ThemePanel.php
2023-04-06 16:58:33 +08:00

22 lines
516 B
PHP

<?php
if ( !class_exists('Puc_v4p8_DebugBar_ThemePanel', false) ):
class Puc_v4p8_DebugBar_ThemePanel extends Puc_v4p8_DebugBar_Panel {
/**
* @var Puc_v4p8_Theme_UpdateChecker
*/
protected $updateChecker;
protected function displayConfigHeader() {
$this->row('Theme directory', htmlentities($this->updateChecker->directoryName));
parent::displayConfigHeader();
}
protected function getUpdateFields() {
return array_merge(parent::getUpdateFields(), array('details_url'));
}
}
endif;