Skip to content
Snippets Groups Projects
Commit 9ec44f89 authored by lechuck's avatar lechuck Committed by agata
Browse files

Small workaround to fix simplyexclude plugin broken with wordpress 4

parent 33f901a7
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,7 @@ class SimplyExclude
$SE_FILTERS_PRIORITY = apply_filters('se_filters_priority', $SE_FILTERS_PRIORITY);
// Used to limit the categories displayed on the home page. Simple
add_filter('pre_get_posts', array($this,'se_filters'), $SE_FILTERS_PRIORITY);
add_filter('pre_get_posts', array(&$this,'se_filters'));
}
function admin_init_proc()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment