[wp-trac] [WordPress Trac] #15032: WP_Object_Query
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 4 18:28:18 UTC 2010
#15032: WP_Object_Query
-------------------------+--------------------------------------------------
Reporter: scribu | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: General | Version:
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Description changed by scribu:
Old description:
> There's a lot of overlap between WP_Query and WP_User_Query.
>
> It would be good if they both inherited from a general WP_Object_Query,
> which would handle taxonomy and meta queries.
>
> We could then more easily create a WP_Comment_Query class, which would
> further reduce code duplication.
New description:
There's a lot of overlap between WP_Query and WP_User_Query.
It would be good if they both inherited from a general WP_Object_Query,
which would handle taxonomy and meta queries.
We could then more easily create a WP_Comment_Query class, for example,
which would further reduce code duplication.
--
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15032#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list