Changeset 1355 for trunk/wp-trackback.php
- Timestamp:
- 05/24/2004 08:22:18 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-trackback.php
r1150 r1355 29 29 trackback_response(1, 'Sorry, this weblog does not allow you to trackback its posts.'); 30 30 31 $pingstatus = $wpdb->get_var("SELECT ping_status FROM $ tableposts WHERE ID = $tb_id");31 $pingstatus = $wpdb->get_var("SELECT ping_status FROM $wpdb->posts WHERE ID = $tb_id"); 32 32 33 33 if ('closed' == $pingstatus) … … 73 73 } 74 74 75 $result = $wpdb->query("INSERT INTO $ tablecomments75 $result = $wpdb->query("INSERT INTO $wpdb->comments 76 76 (comment_post_ID, comment_author, comment_author_email, comment_author_url, comment_author_IP, comment_date, comment_date_gmt, comment_content, comment_approved) 77 77 VALUES
Note: See TracChangeset
for help on using the changeset viewer.