Category / Subdomain not filtering correctly
Bug #400511 reported by
Sam Hansen
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Wordpress Subdomains Plugin |
New
|
Undecided
|
Unassigned | ||
Bug Description
I have installed the plugin and got the subdomains working but each time I try and load a category/subdomain it is showing ALL the posts instead of filtering out only those with apply to that category.
To post a comment you must log in.
This also affects me. I'm sure the way I did it is not the cleanest way to implement filtering of the posts but I got it fixed patching the code as follows:
--- plugin/ actions. php.orig 2009-08-27 05:37:31.000000000 +0200
$query- >is_archive = false; subdomain- >slug; var('cat' , get_category_ by_slug( $cat)-> term_id) ;
+++ plugin/actions.php 2009-12-10 23:38:21.000000000 +0100
@@ -171,6 +171,11 @@
}
}
+
+ $cat = $wps_this_
+ if($cat != '') {
+ set_query_
+ }
}
function wps_action_ page_meta ($type, $place, $post) {