Make WordPress Core


Ignore:
Timestamp:
01/16/2015 07:02:26 PM (10 years ago)
Author:
wonderboymusic
Message:

@param cleanup:

  • get_metadata() will return literally anything, needs to be mixed
  • wp() and WP_Query::__construct() no longer just take a query string
  • Clarify a few others

See #30799.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/meta.php

    r31090 r31212  
    450450 * @param bool $single Optional, default is false. If true, return only the first value of the
    451451 *      specified meta_key. This parameter has no effect if meta_key is not specified.
    452  * @return string|array Single metadata value, or array of values
     452 * @return mixed Single metadata value, or array of values
    453453 */
    454454function get_metadata($meta_type, $object_id, $meta_key = '', $single = false) {
Note: See TracChangeset for help on using the changeset viewer.