Skip to content

Commit 3b07a21

Browse files
committed
switch back to init with a negative priority for state initialization
1 parent 1107338 commit 3b07a21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/class.clef-login.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ private function __construct($settings) {
1212
}
1313

1414
public function initialize_hooks() {
15-
add_action('muplugins_loaded', array($this, 'initialize_state'));
15+
add_action('init', array($this, 'initialize_state'), -1);
1616

1717
// Authenticate with Clef is there is a valid OAuth code present
1818
add_action('authenticate', array($this, 'authenticate_clef'), 10, 3);

0 commit comments

Comments
 (0)