diff --git a/stream.php b/stream.php index 73090b284..ef3744328 100755 --- a/stream.php +++ b/stream.php @@ -93,7 +93,7 @@ private function __construct() { // Load connectors require_once WP_STREAM_INC_DIR . 'connectors.php'; - add_action( 'init', array( 'WP_Stream_Connectors', 'load' ), 0 ); + add_action( 'init', array( 'WP_Stream_Connectors', 'load' ), 9 ); // Load query class require_once WP_STREAM_INC_DIR . 'query.php'; diff --git a/tests/tests/test-stream.php b/tests/tests/test-stream.php index 53a040c25..15e8ed1c2 100644 --- a/tests/tests/test-stream.php +++ b/tests/tests/test-stream.php @@ -21,7 +21,7 @@ public function test_constructor() { $actions_tests = array( array( 'init', 'WP_Stream_Settings', 'load' ), array( 'plugins_loaded', 'WP_Stream_Log', 'load' ), - array( 'init', 'WP_Stream_Connectors', 'load', 0 ), + array( 'init', 'WP_Stream_Connectors', 'load', 9 ), ); $this->do_action_validation( $actions_tests );