WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#28667 closed enhancement (wontfix)

Clarify lack of meta_id values from get_metadata()

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

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 5 years ago.
Clarify lack of meta ids

Download all attachments as: .zip

Change History (2)

@danielbachhuber
5 years ago

Clarify lack of meta ids

#1 @DrewAPicture
5 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.