Hook prepare_body now have a priority of 10, it is runned before showmore

This commit is contained in:
Domovoy 2012-07-23 15:48:00 +02:00
parent bbf6f71d03
commit 5f22a40974

View file

@ -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');