From 2d9bba0a5c03856672367947dee3a5c61031978e Mon Sep 17 00:00:00 2001 From: "Drew Jaynes (DrewAPicture)" Date: Wed, 2 Jul 2014 03:29:33 +0000 Subject: [PATCH] Specify the `$single` parameter default for `get_post_meta()`. Docs spacing. See #28708. git-svn-id: https://develop.svn.wordpress.org/trunk@28955 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/post.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php index f46bb8c65f..1d93bcc211 100644 --- a/src/wp-includes/post.php +++ b/src/wp-includes/post.php @@ -1811,11 +1811,12 @@ function delete_post_meta($post_id, $meta_key, $meta_value = '') { * @since 1.5.0 * @link http://codex.wordpress.org/Function_Reference/get_post_meta * - * @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 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. + * @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 Optional. Whether to return a single value. Default false. + * @return mixed Will be an array if $single is false. Will be value of meta data + * field if $single is true. */ function get_post_meta($post_id, $key = '', $single = false) { return get_metadata('post', $post_id, $key, $single);