Make WordPress Core


Ignore:
Timestamp:
12/06/2007 07:49:33 PM (17 years ago)
Author:
ryan
Message:

Remove unused vars. Props DD32. see #5418

File:
1 edited

Legend:

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

    r6173 r6364  
    3939
    4040function get_comment_author_link() {
    41     global $comment;
    4241    $url    = get_comment_author_url();
    4342    $author = get_comment_author();
     
    7372
    7473function get_comment_author_url_link( $linktext = '', $before = '', $after = '' ) {
    75     global $comment;
    7674    $url = get_comment_author_url();
    7775    $display = ($linktext != '') ? $linktext : $url;
     
    147145
    148146function get_comments_number( $post_id = 0 ) {
    149     global $wpdb, $id;
    150147    $post_id = (int) $post_id;
    151148
     
    238235
    239236function trackback_rdf($timezone = 0) {
    240     global $id;
    241237    if (stripos($_SERVER['HTTP_USER_AGENT'], 'W3C_Validator') === false) {
    242238        echo '<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     
    310306
    311307function comments_popup_script($width=400, $height=400, $file='') {
    312         global $wpcommentspopupfile, $wptrackbackpopupfile, $wppingbackpopupfile, $wpcommentsjavascript;
     308        global $wpcommentspopupfile, $wpcommentsjavascript;
    313309
    314310        if (empty ($file)) {
     
    324320
    325321function comments_popup_link($zero='No Comments', $one='1 Comment', $more='% Comments', $CSSclass='', $none='Comments Off') {
    326     global $id, $wpcommentspopupfile, $wpcommentsjavascript, $post, $wpdb;
     322    global $id, $wpcommentspopupfile, $wpcommentsjavascript, $post;
    327323
    328324    if ( is_single() || is_page() )
Note: See TracChangeset for help on using the changeset viewer.