[wp-trac] [WordPress Trac] #28667: Clarify lack of meta_id values from get_metadata()

WordPress Trac noreply at wordpress.org
Sat Jun 28 23:31:58 UTC 2014


#28667: Clarify lack of meta_id values from get_metadata()
--------------------------------+--------------------------
 Reporter:  danielbachhuber     |      Owner:
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:  4.0
Component:  Options, Meta APIs  |    Version:
 Severity:  normal              |   Keywords:  dev-feedback
  Focuses:  docs                |
--------------------------------+--------------------------
 `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

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28667>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list