Show
Ignore:
Timestamp:
08/30/06 21:46:31 (2 years ago)
Author:
ryan
Message:

Use get_option instead of get_settings. Just 'cause.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-mail.php

    r4006 r4144  
    66error_reporting(2037); 
    77 
    8 $time_difference = get_settings('gmt_offset') * 3600; 
     8$time_difference = get_option('gmt_offset') * 3600; 
    99 
    1010$phone_delim = '::'; 
     
    1212$pop3 = new POP3(); 
    1313 
    14 if (!$pop3->connect(get_settings('mailserver_url'), get_settings('mailserver_port'))) 
     14if (!$pop3->connect(get_option('mailserver_url'), get_option('mailserver_port'))) 
    1515    wp_die($pop3->ERROR); 
    1616 
    17 $count = $pop3->login(get_settings('mailserver_login'), get_settings('mailserver_pass')); 
     17$count = $pop3->login(get_option('mailserver_login'), get_option('mailserver_pass')); 
    1818if (0 == $count) wp_die(__('There doesn’t seem to be any new mail.')); 
    1919 
     
    103103    endforeach; 
    104104 
    105     $subject = trim(str_replace(get_settings('subjectprefix'), '', $subject)); 
     105    $subject = trim(str_replace(get_option('subjectprefix'), '', $subject)); 
    106106 
    107107    if ($content_type == 'multipart/alternative') { 
     
    127127    if ($post_title == '') $post_title = $subject; 
    128128 
    129     if (empty($post_categories)) $post_categories[] = get_settings('default_email_category'); 
     129    if (empty($post_categories)) $post_categories[] = get_option('default_email_category'); 
    130130 
    131131    $post_category = $post_categories;