From: Domovoy Date: Mon, 23 Jul 2012 13:48:00 +0000 (+0200) Subject: Hook prepare_body now have a priority of 10, it is runned before showmore X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5f22a40974fc3ff97008ba3fe6dac5b4497b4938;p=friendica-addons.git Hook prepare_body now have a priority of 10, it is runned before showmore --- diff --git a/nsfw/nsfw.php b/nsfw/nsfw.php index 4a65b720..60ab4581 100755 --- a/nsfw/nsfw.php +++ b/nsfw/nsfw.php @@ -10,7 +10,7 @@ */ function nsfw_install() { - register_hook('prepare_body', 'addon/nsfw/nsfw.php', 'nsfw_prepare_body'); + register_hook('prepare_body', 'addon/nsfw/nsfw.php', 'nsfw_prepare_body', 10); register_hook('plugin_settings', 'addon/nsfw/nsfw.php', 'nsfw_addon_settings'); register_hook('plugin_settings_post', 'addon/nsfw/nsfw.php', 'nsfw_addon_settings_post');