#15835 closed enhancement (fixed)
wp_get_object_terms: allow slugs option in fields argument
| Reported by: | lancewillett | Owned by: | ryan |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.3 |
| Component: | Taxonomy | Version: | 3.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
wp_get_object_terms allows a field argument with options for 'all', 'ids', and 'names' — but doesn't allow 'slugs.'
Attached patch adds support for 'slugs' as a field option.
Attachments (2)
Change History (10)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch looks great.