Skip to content

Commit

Permalink
fix(php): compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Mte90 committed Jul 11, 2024
1 parent ae41bc2 commit 42dcbe2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions QM_Collector_WPBP_Debug.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
<?php

class QM_Collector_WPBP_Debug extends QM_Collector {

public $title;

public $parent;

/**
* Register with WordPress API on construct
*/
Expand Down
5 changes: 5 additions & 0 deletions QM_Collector_WPBP_Debug_Output.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
<?php

class QM_Collector_WPBP_Debug_Output extends QM_Output_Html {

public $title;

public $parent;

public function __construct( QM_Collector $collector, $output, $title ) {
parent::__construct( $collector );
$this->output = $output;
Expand Down
4 changes: 4 additions & 0 deletions debug.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
*/
class WPBP_Debug {

public $title;

public $output;

/**
* Check user cap and WP_DEBUG on init to see if class should continue loading
*
Expand Down

0 comments on commit 42dcbe2

Please sign in to comment.