From 9ec44f893fe5f0d24c9892ba3bca9f36439406ca Mon Sep 17 00:00:00 2001 From: lechuck <lechuck@autistici.org> Date: Sun, 23 Nov 2014 17:45:40 +0000 Subject: [PATCH] Small workaround to fix simplyexclude plugin broken with wordpress 4 --- wp-content/plugins/simply-exclude/simplyexclude.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-content/plugins/simply-exclude/simplyexclude.php b/wp-content/plugins/simply-exclude/simplyexclude.php index b16a69a7c..2ca44f1ec 100644 --- a/wp-content/plugins/simply-exclude/simplyexclude.php +++ b/wp-content/plugins/simply-exclude/simplyexclude.php @@ -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() -- GitLab