mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
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
This commit is contained in:
parent
f5c754bfed
commit
fd21c92b22
@ -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) {
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user