mirror of
https://github.com/WenPai-org/lelms-copyright.git
synced 2026-02-25 06:09:41 +08:00
Added lelms-copyright-zh_CN.l10n.php for improved localization, updated zh_CN.po and zh_CN.mo with new and revised translations, and incremented plugin version to 1.1.9 in lelms-copyright.php. File permissions were also updated for several files.
25 lines
573 B
PHP
Executable file
25 lines
573 B
PHP
Executable file
<?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;
|