[wp-trac] [WordPress Trac] #15032: WP_Object_Query
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 4 20:26:00 UTC 2010
#15032: WP_Object_Query
-------------------------+--------------------------------------------------
Reporter: scribu | Owner: scribu
Type: enhancement | Status: accepted
Priority: normal | Milestone: 3.1
Component: General | Version:
Severity: normal | Keywords: has-patch
-------------------------+--------------------------------------------------
Comment(by scribu):
Replying to [comment:5 filosofo]:
> I don't understand the point of the inheritance here. Usually,
inheritance involves substantial properties or behavior to be inherited;
here, `WP_Object_Query` has two (private) methods and a property. There's
nothing to speak of being inherited; there's no expected re-use of the
private methods for any given object; its code re-use could easily be done
with a couple of functions.
I plan to move _wp_search_sql() in it and also the taxonomy stuff, just
for starters. You'll see. :)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15032#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list