Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#15431 closed defect (bug) (fixed)

Minor error in get_tax_sql() docs

Reported by: viper007bond's profile 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.

Attachments (1)

15431.patch (514 bytes) - added by Viper007Bond 14 years ago.

Download all attachments as: .zip

Change History (4)

@Viper007Bond
14 years ago

#1 @Viper007Bond
14 years ago

  • Description modified (diff)

#2 @Viper007Bond
14 years ago

I should have added this a comment on #12891. Oh well.

#3 @scribu
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [16382]) Fix get_tax_sql() docs. Props Viper007Bond. Fixes #15431

Note: See TracTickets for help on using tickets.