Skip to content

Commit 42dcbe2

Browse files
committed
fix(php): compatibility
1 parent ae41bc2 commit 42dcbe2

3 files changed

Lines changed: 14 additions & 0 deletions

File tree

QM_Collector_WPBP_Debug.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
<?php
22

33
class QM_Collector_WPBP_Debug extends QM_Collector {
4+
5+
public $title;
6+
7+
public $parent;
8+
49
/**
510
* Register with WordPress API on construct
611
*/

QM_Collector_WPBP_Debug_Output.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
<?php
22

33
class QM_Collector_WPBP_Debug_Output extends QM_Output_Html {
4+
5+
public $title;
6+
7+
public $parent;
8+
49
public function __construct( QM_Collector $collector, $output, $title ) {
510
parent::__construct( $collector );
611
$this->output = $output;

debug.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
*/
1111
class WPBP_Debug {
1212

13+
public $title;
14+
15+
public $output;
16+
1317
/**
1418
* Check user cap and WP_DEBUG on init to see if class should continue loading
1519
*

0 commit comments

Comments
 (0)