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

pull/69/head
Domovoy 2012-07-23 15:48:00 +02:00
parent bbf6f71d03
commit 5f22a40974
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
*/ */
function nsfw_install() { 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', 'addon/nsfw/nsfw.php', 'nsfw_addon_settings');
register_hook('plugin_settings_post', 'addon/nsfw/nsfw.php', 'nsfw_addon_settings_post'); register_hook('plugin_settings_post', 'addon/nsfw/nsfw.php', 'nsfw_addon_settings_post');