[wp-trac] [WordPress Trac] #18158: Meta Query for posts with a meta key not set (IS NULL).
WordPress Trac
wp-trac at lists.automattic.com
Thu Jan 12 18:58:28 UTC 2012
#18158: Meta Query for posts with a meta key not set (IS NULL).
-----------------------------------+------------------------------
Reporter: johnnyb | Owner: georgestephanis
Type: enhancement | Status: accepted
Priority: normal | Milestone: Future Release
Component: Query | Version: 3.2.1
Severity: normal | Resolution:
Keywords: needs-patch has-patch |
-----------------------------------+------------------------------
Changes (by georgestephanis):
* keywords: needs-patch => needs-patch has-patch
* owner: => georgestephanis
* status: new => accepted
Comment:
I'm attaching a first draft of a patch for this. It's not ideal, and I'm
sure there's a better way to do some of the bits, but it's a functional
proof of concept. (or should be, I'm going to double-check and test it
this evening, but it should be structurally sound based on other similar
things I've done)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18158#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list