Make WordPress Core


Ignore:
Timestamp:
06/22/2006 08:52:12 PM (19 years ago)
Author:
ryan
Message:

wp_get_current_commenter()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/default/comments-popup.php

    r3517 r3902  
    3030<?php
    3131// this line is WordPress' motor, do not delete it.
    32 $comment_author = (isset($_COOKIE['comment_author_' . COOKIEHASH])) ? trim($_COOKIE['comment_author_'. COOKIEHASH]) : '';
    33 $comment_author_email = (isset($_COOKIE['comment_author_email_'. COOKIEHASH])) ? trim($_COOKIE['comment_author_email_'. COOKIEHASH]) : '';
    34 $comment_author_url = (isset($_COOKIE['comment_author_url_'. COOKIEHASH])) ? trim($_COOKIE['comment_author_url_'. COOKIEHASH]) : '';
     32$commenter = wp_get_current_commenter();
     33extract($commenter);
    3534$comments = get_approved_comments($id);
    3635$post = get_post($id);
Note: See TracChangeset for help on using the changeset viewer.