public function __construct($updateChecker) { $this->updateChecker = $updateChecker; $title = sprintf('<span id="puc-debug-menu-link-%s">PUC (%s)</span>', esc_attr($this->updateChecker->slug), $this->updateChecker->slug); parent::Debug_Bar_Panel($title); }
function __construct($view_path = '') { parent::Debug_Bar_Panel('Log Viewer'); $this->_view_file = realpath($view_path . DIRECTORY_SEPARATOR . $this->_view_file); }