Make WordPress Core


Ignore:
Timestamp:
09/22/2004 07:44:35 PM (20 years ago)
Author:
michelvaldrighi
Message:

fixes for bug #311, by bronski

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-trackback.php

    r1696 r1705  
    6363    $blog_name = (strlen($blog_name) > 250) ? substr($blog_name, 0, 250) . '...' : $blog_name;
    6464
    65     $comment_post_id = $tb_id;
    66     $commment_author = $blog_name;
     65    $comment_post_ID = $tb_id;
     66    $comment_author = $blog_name;
    6767    $comment_author_email = '';
    6868    $comment_author_url = $tb_url;
     
    7070    $comment_type = 'trackback';
    7171
    72     $commentdata = compact('comment_post_id', 'comment_author', 'comment_author_email', 'comment_author_url', 'comment_content', 'comment_type');
     72    $commentdata = compact('comment_post_ID', 'comment_author', 'comment_author_email', 'comment_author_url', 'comment_content', 'comment_type');
    7373
    7474    wp_new_comment($commentdata);
Note: See TracChangeset for help on using the changeset viewer.