mirror of
https://github.com/WenPai-org/lelms-copyright.git
synced 2025-08-08 14:59:13 +08:00
源码提交
This commit is contained in:
parent
2955d0dde5
commit
3fd3701567
131 changed files with 13972 additions and 0 deletions
25
lib/plugin-update-checker/Puc/v5p3/DebugBar/ThemePanel.php
Normal file
25
lib/plugin-update-checker/Puc/v5p3/DebugBar/ThemePanel.php
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
|
||||
namespace YahnisElsts\PluginUpdateChecker\v5p3\DebugBar;
|
||||
|
||||
use YahnisElsts\PluginUpdateChecker\v5p3\Theme\UpdateChecker;
|
||||
|
||||
if ( !class_exists(ThemePanel::class, false) ):
|
||||
|
||||
class ThemePanel extends Panel {
|
||||
/**
|
||||
* @var 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;
|
Loading…
Add table
Add a link
Reference in a new issue