From 23f2e793505697a81d7b0057ad81e82caad4dee3 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Sat, 5 Sep 2015 19:59:10 +0000 Subject: [PATCH] Correct the param docs for `comment_guid()` and `get_comment_guid()`. Props dimadin. Fixes #32619. git-svn-id: https://develop.svn.wordpress.org/trunk@33913 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/feed.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/feed.php b/src/wp-includes/feed.php index 453b904144..0914cd7c03 100644 --- a/src/wp-includes/feed.php +++ b/src/wp-includes/feed.php @@ -264,8 +264,7 @@ function comments_link_feed() { * * @since 2.5.0 * - * @param mixed $id_or_email The Gravatar to retrieve. Accepts a user_id, gravatar md5 hash, - * user email, WP_User object, WP_Post object, or WP_Comment object. + * @param int|WP_Comment $comment_id Optional comment object or id. Defaults to global comment object. */ function comment_guid($comment_id = null) { echo esc_url( get_comment_guid($comment_id) ); @@ -276,8 +275,7 @@ function comment_guid($comment_id = null) { * * @since 2.5.0 * - * @param mixed $id_or_email The Gravatar to retrieve. Accepts a user_id, gravatar md5 hash, - * user email, WP_User object, WP_Post object, or WP_Comment object. + * @param int|WP_Comment $comment_id Optional comment object or id. Defaults to global comment object. * @return false|string false on failure or guid for comment on success. */ function get_comment_guid($comment_id = null) {