Make WordPress Core

Opened 7 years ago

Last modified 7 years ago

#15431 closed defect (bug)

Minor error in get_tax_sql() docs — at Version 1

Reported by: Viper007Bond Owned by:
Milestone: 3.1 Priority: lowest
Severity: minor Version: 3.1
Component: Inline Docs Keywords: has-patch
Focuses: Cc:

Description (last modified by Viper007Bond)

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.

Change History (2)

7 years ago

#1 @Viper007Bond
7 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.