[wp-hackers] Limitations and Patch for WP_Query Taxonomy Stuff

Jeremy Clarke jer at simianuprising.com
Wed Jan 6 17:02:31 UTC 2010


+1 for this idea.

On Wed, Dec 30, 2009 at 4:02 PM, Dion Hulse (dd32) <wordpress at dd32.id.au> wrote:
> I have thought the same a few times now.. The only side effect i could
> possibly think of is that the category ones have a bit of proprocessing for
> back compat, to determine what has been passed (int, slug, name,
> who-knows-what) IIRC

Ideally that kind of stuff could be moved into a callback function
that could be added to the categories taxonomy, allowing custom
taxonomies to set up their own callbacks. The ability to accept slug
OR id is really valuable and could easily apply to any number of
taxonomies.

-- 
Jeremy Clarke
Code and Design | globalvoicesonline.org


More information about the wp-hackers mailing list