[wp-trac] [WordPress Trac] #15431: Minor error in get_tax_sql() docs

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 15 09:43:54 UTC 2010


#15431: Minor error in get_tax_sql() docs
--------------------------+-------------------------------------------------
 Reporter:  Viper007Bond  |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  lowest        |   Milestone:  3.1      
Component:  Inline Docs   |     Version:  3.1      
 Severity:  minor         |    Keywords:  has-patch
--------------------------+-------------------------------------------------
Description changed by Viper007Bond:

Old description:

> While working with the `posts_where` filter and `get_tax_sql()` in an
> attempt to restrict down some posts by a custom taxonomy, I noticed that
> it mentions that the default `field` value is `slug` while
> `get_objects_in_term()` actually defaults to `field_id` and not `slug.

New description:

 While working with the `posts_where` filter and `get_tax_sql()` in an
 attempt to restrict down some posts by a custom taxonomy, I noticed that
 it mentions that the default `field` value is `slug` while
 `get_objects_in_term()` actually defaults to `field_id` and not `slug`.

--

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15431#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list