266 reputation
212
bio website minotaur.it
location United Kingdom
age 34
visits member for 3 years, 4 months
seen Jul 10 at 15:24
Java web application developer with an interest in language design, anime and all things oriental.

Feb
21
comment How to remove a filter that is an anonymous object?
+1 Absolutely perfect.
Dec
10
awarded  Notable Question
Nov
22
revised WordPress Multisite - global categories
Removed `term_relationships` from adjusted tables.
Nov
22
comment WordPress Multisite - global categories
Correct, the term_relationships table shouldn't be included. I spotted and fixed that long ago in the plugin, but never updated this answer to match.
Jun
28
awarded  Popular Question
Oct
30
answered Custom post rewrite rule not working
Oct
30
revised Custom post rewrite rule not working
deleted 371 characters in body
Oct
29
revised Custom post rewrite rule not working
Add link
Oct
29
asked Custom post rewrite rule not working
Oct
10
awarded  Popular Question
Sep
23
revised WordPress Multisite - global categories
Update to link to plugin
Jul
26
comment qTranslate get content by language
This works perfectly, but it took me a few attempts to realise that the get_page($id) bit is important. By the time you're rendering the view, qTranslate has already modified the contents of $post to only contain the current language, so you need to load it again to get the options for all languages.
Jun
1
awarded  Popular Question
Mar
13
awarded  Critic
Mar
9
awarded  Yearling
Jan
20
comment 404 redirecting to home
I wasn't trying to make the 404 redirect to home, I was trying to prevent it doing so.
Sep
13
revised wp_nav_menu remove class and id from li
added 6 characters in body
Sep
13
revised Improving WP_Query performance for multiple taxonomies
broken on 3.2
Jul
19
comment Improving WP_Query performance for multiple taxonomies
Also, the joins can only be merged if they're all IN queries. You can't merge an IN with a NOT IN join.
Jul
19
comment Improving WP_Query performance for multiple taxonomies
It seems like the OR case is equivalent with a single join because only one of the terms has to match. For the AND case, all the terms have to match so they really are separate parameters, each of which needs a separate join.