|Reported by:||boonebgorges||Owned by:|
WP_Query, WP_User_Query, and WP_Comment_Query parallel each other in a few ways that make them easier to maintain, easier to enhance, and easier for developers to use. At some point in the future - say, when WP can start using PHP traits - we may actually be able to abstract out some of the shared functionality. (RIP WP_Object_Query.)
In the meantime, get_terms() is the black sheep of the family. The more we add onto it, the harder it gets to maintain. See eg #34996. Let's impose some structure on it, so that it looks and feels more like our other object query classes.
Change History (40)
- Keywords has-patch needs-testing dev-feedback added; needs-patch removed