21 lines
515 B
PHP
Executable File
21 lines
515 B
PHP
Executable File
<?php
|
|
|
|
if ( !class_exists('Puc_v4p1_DebugBar_ThemePanel', false) ):
|
|
|
|
class Puc_v4p1_DebugBar_ThemePanel extends Puc_v4p1_DebugBar_Panel {
|
|
/**
|
|
* @var Puc_v4p1_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; |