[wp-trac] [WordPress Trac] #8722: get_categories allows custom taxos, get_category doesn't
WordPress Trac
noreply at wordpress.org
Wed Oct 2 19:58:51 UTC 2013
#8722: get_categories allows custom taxos, get_category doesn't
------------------------------+---------------------
Reporter: Malaiac | Owner: ryan
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.7
Component: Taxonomy | Version: 2.7
Severity: normal | Resolution: fixed
Keywords: has-patch commit |
------------------------------+---------------------
Changes (by wonderboymusic):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"25662"]:
{{{
#!CommitTicketReference repository="" revision="25662"
Rather than adding a `taxonomy` arg to `get_category()`, convert all uses
of `get_category()` in core to `get_term()`. By doing so, we negate the
need to call `_make_cat_compat()` in a few places that are only looking
for a single property.
Fixes #8722.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/8722#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list