Make WordPress Core

Ticket #28667: 28667.1.diff

File 28667.1.diff, 737 bytes (added by danielbachhuber, 10 years ago)

Clarify lack of meta ids

  • wp-includes/meta.php

     
    420420 *              the specified object.
    421421 * @param bool $single Optional, default is false. If true, return only the first value of the
    422422 *              specified meta_key. This parameter has no effect if meta_key is not specified.
    423  * @return string|array Single metadata value, or array of values
     423 * @return string|array Single metadata value, or array of values. Meta ids won't ever be
     424 *              included as they're not intended for external consumption.
    424425 */
    425426function get_metadata($meta_type, $object_id, $meta_key = '', $single = false) {
    426427        if ( !$meta_type )