[wp-trac] [WordPress Trac] #11482: Add LIKE to meta_compare
WordPress Trac
wp-trac at lists.automattic.com
Fri Dec 18 14:55:32 UTC 2009
#11482: Add LIKE to meta_compare
-------------------------+--------------------------------------------------
Reporter: joehoyle | Owner: ryan
Type: enhancement | Status: new
Priority: normal | Milestone: 3.0
Component: Query | Version: 2.9
Severity: normal | Keywords: has-patch
-------------------------+--------------------------------------------------
Comment(by Denis-de-Bernardy):
If we add LIKE, we might as well add NOT LIKE.
The like_escape() function is buggy, however, so I'm a bit suspicious of
the whole idea. A plugin dev who actually needs this kind of stuff should
probably be using the posts_join filter instead.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11482#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list