Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#28667 closed enhancement (wontfix)

Clarify lack of meta_id values from get_metadata()

Reported by: danielbachhuber's profile danielbachhuber Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Options, Meta APIs Keywords: dev-feedback
Focuses: docs Cc:

Description

get_metadata() doesn't ever return meta_id in its return response because meta_id isn't intended to be consumed externally. XML-RPC does include the meta_id in meta responses, but that's because it misguidedly uses has_meta(). Let's nip this in the bud once and for all.

Related https://github.com/wp-cli/wp-cli/pull/1251 and https://github.com/WP-API/WP-API/issues/336

Attachments (1)

28667.1.diff (737 bytes) - added by danielbachhuber 10 years ago.
Clarify lack of meta ids

Download all attachments as: .zip

Change History (2)

@danielbachhuber
10 years ago

Clarify lack of meta ids

#1 @DrewAPicture
10 years ago

  • Milestone 4.0 deleted
  • Resolution set to wontfix
  • Status changed from new to closed

I don't think this is necessary. The description clearly states only the value or values will be returned.

Note: See TracTickets for help on using tickets.