WordPress.org

Make WordPress Core

Changeset 33913


Ignore:
Timestamp:
09/05/2015 07:59:10 PM (5 years ago)
Author:
wonderboymusic
Message:

Correct the param docs for comment_guid() and get_comment_guid().

Props dimadin.
Fixes #32619.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/feed.php

    r33891 r33913  
    265265 * @since 2.5.0
    266266 *
    267  * @param mixed  $id_or_email The Gravatar to retrieve. Accepts a user_id, gravatar md5 hash,
    268  *                            user email, WP_User object, WP_Post object, or WP_Comment object.
     267 * @param int|WP_Comment $comment_id Optional comment object or id. Defaults to global comment object.
    269268 */
    270269function comment_guid($comment_id = null) {
     
    277276 * @since 2.5.0
    278277 *
    279  * @param mixed  $id_or_email The Gravatar to retrieve. Accepts a user_id, gravatar md5 hash,
    280  *                            user email, WP_User object, WP_Post object, or WP_Comment object.
     278 * @param int|WP_Comment $comment_id Optional comment object or id. Defaults to global comment object.
    281279 * @return false|string false on failure or guid for comment on success.
    282280 */
Note: See TracChangeset for help on using the changeset viewer.