Added PuC for testing

This commit is contained in:
2024-07-04 18:59:19 -04:00
parent c985ab50bd
commit 9e14d32464
34 changed files with 8990 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
if ( !class_exists('Puc_v4p4_DebugBar_ThemePanel', false) ):
class Puc_v4p4_DebugBar_ThemePanel extends Puc_v4p4_DebugBar_Panel {
/**
* @var Puc_v4p4_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;