Changeset 885

Show
Ignore:
Timestamp:
02/13/07 16:07:11 (2 years ago)
Author:
donncha
Message:

Use get_option instead of get_settings

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/app.php

    r865 r885  
    824824                $page = (int) $page; 
    825825                 
    826                 $count = get_settings('posts_per_rss');        
     826                $count = get_option('posts_per_rss');  
    827827                $query = "paged=$page&posts_per_page=$count&order=DESC"; 
    828828                if($post_type == 'attachment') { 
     
    10451045                nocache_headers(); 
    10461046                header('WWW-Authenticate: Basic realm="WordPress Atom Protocol"'); 
    1047                 header('WWW-Authenticate: Form action="' . get_settings('siteurl') . '/wp-login.php"', false);  
     1047                header('WWW-Authenticate: Form action="' . get_option('siteurl') . '/wp-login.php"', false);  
    10481048                header("HTTP/1.1 401 $msg"); 
    10491049                header('Status: ' . $msg); 
     
    10551055        function output($xml, $ctype = "application/atom+xml") { 
    10561056                        status_header('200'); 
    1057                         $xml = '<?xml version="1.0" encoding="' . get_settings('blog_charset') . '"?>'."\n".$xml; 
     1057                        $xml = '<?xml version="1.0" encoding="' . get_option('blog_charset') . '"?>'."\n".$xml; 
    10581058                        header('Connection: close'); 
    10591059                        header('Content-Length: '. strlen($xml)); 
  • trunk/xmlrpc.php

    r883 r885  
    579579                        $struct[] = array( 
    580580                                'isAdmin'  => $is_admin, 
    581                                 'url'      => get_settings('home') . '/', 
     581                                'url'      => get_option('home') . '/', 
    582582                                'blogid'   => $blog_id, 
    583                                 'blogName' => get_settings('blogname') 
     583                                'blogName' => get_option('blogname') 
    584584                        ); 
    585585                }