WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 9 months ago

#15032 closed enhancement

WP_Object_Query — at Initial Version

Reported by: scribu Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords: ongoing-project
Focuses: Cc:

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.

Change History (0)

Note: See TracTickets for help on using tickets.