[wp-trac] [WordPress Trac] #41266: Not hard coding the table alias prefix in WP_Meta_Query would make class more extendable
WordPress Trac
noreply at wordpress.org
Thu Aug 10 13:58:07 UTC 2017
#41266: Not hard coding the table alias prefix in WP_Meta_Query would make class
more extendable
----------------------------------------+------------------------------
Reporter: thomaslhotta | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 4.8
Severity: normal | Resolution:
Keywords: needs-patch good-first-bug | Focuses:
----------------------------------------+------------------------------
Comment (by andizer):
I've added two patches both containing a different approach. The first
patch works with a property having a default value being mt and a setter
for overriding that value. The second patch works with a hook to override
the default value.
If one of those patches will be merged, please also gives props to
[https://profiles.wordpress.org/ireneyoast ireneyoast]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41266#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list