[wp-trac] [WordPress Trac] #24245: Convert category__and query into category__in when only one category passed in
WordPress Trac
noreply at wordpress.org
Wed Sep 4 18:16:32 UTC 2013
#24245: Convert category__and query into category__in when only one category passed
in
-------------------------+-----------------------------
Reporter: batmoo | Owner: wonderboymusic
Type: enhancement | Status: closed
Priority: normal | Milestone: 3.7
Component: Query | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch |
-------------------------+-----------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"25238"]:
{{{
#!CommitTicketReference repository="" revision="25238"
Convert `category__and` to `category__in` (less expensive) and unset it
when only one category is passed. Adds unit tests.
Fixes #24245.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24245#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list