Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#18717 closed defect (bug) (fixed)

get_meta_sql(): $meta_query isn't optional

Reported by: duck_'s profile duck_ Owned by: nacin's profile 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_ 13 years ago.

Download all attachments as: .zip

Change History (3)

@duck_
13 years ago

#1 @nacin
13 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.

#2 @duck_
13 years ago

  • Milestone changed from Awaiting Review to 3.3

Forgot about this.

Note: See TracTickets for help on using tickets.