Make WordPress Core

Changeset 956 for trunk/wp-trackback.php


Ignore:
Timestamp:
03/01/2004 06:13:32 AM (21 years ago)
Author:
saxmatt
Message:

Migration to get_settings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-trackback.php

    r914 r956  
    2626    @header('Content-Type: text/xml');
    2727
    28     if (!$use_trackback)
     28    if (!get_settings('use_trackback'))
    2929        trackback_response(1, 'Sorry, this weblog does not allow you to trackback its posts.');
    3030
     
    8585    } else {
    8686        $comment_ID = $wpdb->get_var('SELECT last_insert_id()');
    87         if ($comments_notify)
     87        if (get_settings('comments_notify'))
    8888            wp_notify_postauthor($comment_ID, 'trackback');
    8989        trackback_response(0);
Note: See TracChangeset for help on using the changeset viewer.