Skip to content

Commit

Permalink
Merge pull request #15 from cfg/update-server-init-priority
Browse files Browse the repository at this point in the history
Hook TLC_Transient_Update_Server::init at a lower priority (bigger priority number, 9999), so other things that hook on init can register their stuff.
  • Loading branch information
markjaquith committed May 1, 2013
2 parents 3daedcb + 14d3205 commit 8ef7e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tlc-transients.php
Expand Up @@ -3,7 +3,7 @@
if ( !class_exists( 'TLC_Transient_Update_Server' ) ) {
class TLC_Transient_Update_Server {
public function __construct() {
add_action( 'init', array( $this, 'init' ) );
add_action( 'init', array( $this, 'init' ), 9999 );
}

public function init() {
Expand Down

0 comments on commit 8ef7e50

Please sign in to comment.