From 81103f482ad0312180771468432ceaf8099fdfb3 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 2 Jul 2014 03:26:16 +0000 Subject: [PATCH] Mark $single parameter of get_post_meta() as optional. props netweb. fixes #28708. Built from https://develop.svn.wordpress.org/trunk@28954 git-svn-id: http://core.svn.wordpress.org/trunk@28750 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index 669026ecf0..f46bb8c65f 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -1813,7 +1813,7 @@ function delete_post_meta($post_id, $meta_key, $meta_value = '') { * * @param int $post_id Post ID. * @param string $key Optional. The meta key to retrieve. By default, returns data for all keys. - * @param bool $single Whether to return a single value. + * @param bool $single Optional. Whether to return a single value. * @return mixed Will be an array if $single is false. Will be value of meta data field if $single * is true. */