mirror of
https://github.com/YahnisElsts/plugin-update-checker.git
synced 2026-07-27 11:36:53 +08:00
21 lines
520 B
PHP
21 lines
520 B
PHP
<?php
|
|
|
|
if ( !class_exists('Puc_v4p11_DebugBar_ThemePanel', false) ):
|
|
|
|
class Puc_v4p11_DebugBar_ThemePanel extends Puc_v4p11_DebugBar_Panel {
|
|
/**
|
|
* @var Puc_v4p11_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;
|