From fd21c92b226a576068c6b3d70f6b2fcdf135a745 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Sat, 5 Sep 2015 20:00:25 +0000 Subject: [PATCH] Correct the param docs for `comment_guid()` and `get_comment_guid()`. Props dimadin. Fixes #32619. Built from https://develop.svn.wordpress.org/trunk@33913 git-svn-id: http://core.svn.wordpress.org/trunk@33882 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/feed.php | 6 ++---- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/wp-includes/feed.php b/wp-includes/feed.php index 453b904144..0914cd7c03 100644 --- a/wp-includes/feed.php +++ b/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) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 0728fa4255..6c4210f7f1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-33912'; +$wp_version = '4.4-alpha-33913'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.