Upgraded PuC version

This commit is contained in:
2024-07-06 22:06:02 -04:00
parent 9e14d32464
commit 4fbcac1062
121 changed files with 5610 additions and 3565 deletions

View File

@@ -0,0 +1,25 @@
<?php
namespace YahnisElsts\PluginUpdateChecker\v5p4\DebugBar;
use YahnisElsts\PluginUpdateChecker\v5p4\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;