WordPress.org

Make WordPress Core

Opened 21 months ago

Closed 21 months ago

Last modified 21 months ago

#35891 closed defect (bug) (fixed)

`WP_Meta_Query` `EXISTS` and `NOT EXISTS` comparison options not documented

Reported by: jdgrimes Owned by: apaliku
Milestone: 4.5 Priority: normal
Severity: normal Version: 3.5
Component: Options, Meta APIs Keywords: needs-patch good-first-bug
Focuses: docs Cc:

Description

WP_Meta_Query accepts EXISTS and NOT EXISTS as values for compare, but this is not indicated in the inline docs.

Attachments (1)

wp-meta-query-doc-fix.35891.diff (1.2 KB) - added by apaliku 21 months ago.
Simple doc fix.

Download all attachments as: .zip

Change History (8)

#1 @boonebgorges
21 months ago

  • Keywords needs-patch good-first-bug added

This ticket was mentioned in Slack in #core by apaliku. View the logs.


21 months ago

#3 @pento
21 months ago

  • Owner set to apaliku
  • Status changed from new to assigned

#4 @pento
21 months ago

  • Milestone changed from Awaiting Review to 4.5

@apaliku
21 months ago

Simple doc fix.

#5 @boonebgorges
21 months ago

Looks good. Thanks, @apaliku!

#6 @boonebgorges
21 months ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 36609:

Docs: WP_Meta_Query accepts 'EXISTS' or 'NOT EXISTS' for $compare.

Props apaliku, jdgrimes.
Fixes #35891.

#7 @johnbillion
21 months ago

  • Version changed from trunk to 3.5
Note: See TracTickets for help on using tickets.