An updated theme (based on Atticus Finch) for ClassicPress
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
515 B

3 years ago
  1. <?php
  2. if ( !class_exists('Puc_v4p1_DebugBar_ThemePanel', false) ):
  3. class Puc_v4p1_DebugBar_ThemePanel extends Puc_v4p1_DebugBar_Panel {
  4. /**
  5. * @var Puc_v4p1_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;