Skip to content

Commit 590fac6

Browse files
committed
fix php54 warning: Creating default object from empty value
1 parent dd473d7 commit 590fac6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ad-code-manager.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ function __construct() {
7070
add_action('current_screen', array( $this, 'contextual_help' ) );
7171
add_action( 'widgets_init', array( $this, 'register_widget' ) );
7272
add_shortcode( 'acm-tag' , array( $this, 'shortcode' ) );
73+
// Workaround for PHP 5.4 warning: Creating default object from empty value in
74+
$this->providers = new stdClass();
7375
}
7476

7577
/**

0 commit comments

Comments
 (0)