Initial Commit
This commit is contained in:
21
dependencies/yahnis-elsts/plugin-update-checker/Puc/v4p11/DebugBar/ThemePanel.php
vendored
Normal file
21
dependencies/yahnis-elsts/plugin-update-checker/Puc/v4p11/DebugBar/ThemePanel.php
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
<?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;
|
Reference in New Issue
Block a user