Browse Source

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

pull/69/head
Domovoy 9 years ago
parent
commit
5f22a40974
  1. 2
      nsfw/nsfw.php

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

Loading…
Cancel
Save