Docs: Correct the phpDoc type to a boolean for the $single parameter in the get_{$meta_type}_metadata hook docs.

Props dlh.
Fixes #33451.

Built from https://develop.svn.wordpress.org/trunk@33665


git-svn-id: http://core.svn.wordpress.org/trunk@33632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-08-20 19:36:25 +00:00
parent bec5bcf717
commit a7b38bf90a
2 changed files with 3 additions and 4 deletions

View File

@ -475,12 +475,11 @@ function get_metadata($meta_type, $object_id, $meta_key = '', $single = false) {
*
* @since 3.1.0
*
* @param null|array|string $value The value get_metadata() should
* return - a single metadata value,
* @param null|array|string $value The value get_metadata() should return - a single metadata value,
* or an array of values.
* @param int $object_id Object ID.
* @param string $meta_key Meta key.
* @param string|array $single Meta value, or an array of values.
* @param bool $single Whether to return only the first value of the specified $meta_key.
*/
$check = apply_filters( "get_{$meta_type}_metadata", null, $object_id, $meta_key, $single );
if ( null !== $check ) {

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-33664';
$wp_version = '4.4-alpha-33665';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.