ThemePanel.php 520 B

123456789101112131415161718192021
  1. <?php
  2. if ( !class_exists('Puc_v4p11_DebugBar_ThemePanel', false) ):
  3. class Puc_v4p11_DebugBar_ThemePanel extends Puc_v4p11_DebugBar_Panel {
  4. /**
  5. * @var Puc_v4p11_Theme_UpdateChecker
  6. */
  7. protected $updateChecker;
  8. protected function displayConfigHeader() {
  9. $this->row('Theme directory', htmlentities($this->updateChecker->directoryName));
  10. parent::displayConfigHeader();
  11. }
  12. protected function getUpdateFields() {
  13. return array_merge(parent::getUpdateFields(), array('details_url'));
  14. }
  15. }
  16. endif;