Make WordPress Core


Ignore:
Timestamp:
02/27/2012 07:46:52 PM (13 years ago)
Author:
ryan
Message:

Pinking shears 6-20000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment.php

    r19910 r20000  
    570570}
    571571
    572 /** 
    573  * Sets the cookies used to store an unauthenticated commentator's identity. Typically used 
    574  * to recall previous comments by this commentator that are still held in moderation. 
    575  * 
     572/**
     573 * Sets the cookies used to store an unauthenticated commentator's identity. Typically used
     574 * to recall previous comments by this commentator that are still held in moderation.
     575 *
    576576 * @param object $comment Comment object.
    577577 * @param object $user Comment author's object.
    578578 *
    579579 * @since 3.4.0
    580  */ 
    581 function wp_set_comment_cookies($comment, $user) { 
     580 */
     581function wp_set_comment_cookies($comment, $user) {
    582582    if ( $user->ID )
    583583        return;
     
    587587    setcookie('comment_author_email_' . COOKIEHASH, $comment->comment_author_email, time() + $comment_cookie_lifetime, COOKIEPATH, COOKIE_DOMAIN);
    588588    setcookie('comment_author_url_' . COOKIEHASH, esc_url($comment->comment_author_url), time() + $comment_cookie_lifetime, COOKIEPATH, COOKIE_DOMAIN);
    589 } 
     589}
    590590
    591591/**
Note: See TracChangeset for help on using the changeset viewer.