WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#18717 closed defect (bug) (fixed)

get_meta_sql(): $meta_query isn't optional

Reported by: duck_ Owned by: nacin
Milestone: 3.3 Priority: normal
Severity: normal Version: 3.2
Component: Query Keywords: has-patch
Focuses: Cc:

Description

The first argument to get_meta_sql() is marked as optional (both in documentation and code), but the three following it are not.

r17699 #17165

Attachments (1)

18717.diff (1.1 KB) - added by duck_ 3 years ago.

Download all attachments as: .zip

Change History (3)

duck_3 years ago

comment:1 nacin3 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In [18789]:

Fix docs for get_meta_sql(). First arg cannot be optional. props duck_, fixes #18717.

comment:2 duck_3 years ago

  • Milestone changed from Awaiting Review to 3.3

Forgot about this.

Note: See TracTickets for help on using tickets.