[wp-trac] [WordPress Trac] #34245: Make the $taxonomy parameter in get_term_field() optional
WordPress Trac
noreply at wordpress.org
Mon Oct 12 04:13:27 UTC 2015
#34245: Make the $taxonomy parameter in get_term_field() optional
--------------------------------------+---------------------------
Reporter: DrewAPicture | Owner: boonebgorges
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 4.4
Component: Taxonomy | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------------
Comment (by boonebgorges):
In [changeset:"35028"]:
{{{
#!CommitTicketReference repository="" revision="35028"
Don't require a `$taxonomy` to be specified in `get_term_field()`.
After [34997], the `$taxonomy` parameter of `get_term()` is optional. This
changeset brings `get_term_field()` in line with the new usage.
Adds unit tests for `get_term_field()`.
Props DrewAPicture.
See #34245.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34245#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list