Skip to content

Commit

Permalink
main/core: bp/bbp include moved early
Browse files Browse the repository at this point in the history
  • Loading branch information
geminorum committed Oct 23, 2017
1 parent 597350c commit c0809f3
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions includes/core.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,18 @@ private function setup()
}
}
}


add_action( 'bp_include', [ $this, 'bp_include' ] );
add_action( 'bbp_includes', [ $this, 'bbp_includes' ] );
add_action( 'plugins_loaded', [ $this, 'plugins_loaded' ], 20 );

// do_action_ref_array( 'gpersiandate_after_setup_actions', [ &$this ] );
}

public function plugins_loaded()
{
load_plugin_textdomain( GPERSIANDATE_TEXTDOMAIN, FALSE, 'gpersiandate/languages' );

add_action( 'bp_include', [ $this, 'bp_include' ] );
add_action( 'bbp_includes', [ $this, 'bbp_includes' ] );
}
}

public function bp_include()
{
Expand Down

0 comments on commit c0809f3

Please sign in to comment.