diff --git a/Source/Source.php b/Source/Source.php index b8b4b1c..1e80c50 100644 --- a/Source/Source.php +++ b/Source/Source.php @@ -93,10 +93,6 @@ require_once( 'SourceIntegration.php' ); plugin_child( 'SourceIntegration' ); - - if ( plugin_config_get( 'enable_linking' ) ) { - plugin_event_hook( 'EVENT_DISPLAY_FORMATTED', 'display_formatted' ); - } } /** @@ -108,6 +104,10 @@ # initialize the vcs type cache SourceVCS::init(); + + if ( plugin_config_get( 'enable_linking' ) ) { + plugin_event_hook( 'EVENT_DISPLAY_FORMATTED', 'display_formatted' ); + } } function css() {