Skip to content

Commit

Permalink
Merge pull request #532 from x-team/issue-531
Browse files Browse the repository at this point in the history
Change priority of connectors load to be after widgets_init
  • Loading branch information
frankiejarrett committed May 15, 2014
2 parents 326db24 + 952b005 commit 761d53a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stream.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion tests/tests/test-stream.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 761d53a

Please sign in to comment.