Skip to content

Commit

Permalink
Change hook so every entry only gets resolved once
Browse files Browse the repository at this point in the history
  • Loading branch information
c0ldplasma authored Jul 16, 2020
1 parent d8b4085 commit 24e26e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xExtension-TwitterResolver/extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class TwitterResolverExtension extends Minz_Extension
*/
public function init()
{
$this->registerHook('entry_before_display', array($this, 'convertTwitterUrls'));
$this->registerHook('entry_before_insert', array($this, 'convertTwitterUrls'));
}

/**
Expand Down

0 comments on commit 24e26e4

Please sign in to comment.