From 0100499f4f19001efe1a1bdb217a25fe0833645f Mon Sep 17 00:00:00 2001 From: Justin Sainton Date: Tue, 24 Feb 2015 00:01:08 -0800 Subject: [PATCH] Sooo... not removing the `the_post` action sort of stomps on any other post on a page....essentially causing them to not show up at all. --- index.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.php b/index.php index e998189..8ecef70 100644 --- a/index.php +++ b/index.php @@ -43,6 +43,8 @@ function add_filters() { function remove_filters() { remove_filter('posts_request', array(&$this, 'create_and_unionize_select_statements') ); remove_filter('posts_fields', array(&$this, 'add_site_ID_to_posts_fields') ); + remove_action('the_post', array(&$this, 'switch_to_blog_while_in_loop')); + }