Changeset 4144 for trunk/wp-rss.php

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-rss.php

    r2627 r4144  
    66} 
    77 
    8 header('Content-type: text/xml; charset=' . get_settings('blog_charset'), true); 
     8header('Content-type: text/xml; charset=' . get_option('blog_charset'), true); 
    99$more = 1; 
    1010 
    1111?> 
    12 <?php echo '<?xml version="1.0" encoding="'.get_settings('blog_charset').'"?'.'>'; ?> 
     12<?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> 
    1313<!-- generator="wordpress/<?php echo $wp_version ?>" --> 
    1414<rss version="0.92"> 
     
    2525    <item> 
    2626        <title><?php the_title_rss() ?></title> 
    27 <?php if (get_settings('rss_use_excerpt')) { ?> 
     27<?php if (get_option('rss_use_excerpt')) { ?> 
    2828        <description><![CDATA[<?php the_excerpt_rss() ?>]]></description> 
    2929<?php } else { // use content ?> 
    30         <description><?php the_content_rss('', 0, '', get_settings('rss_excerpt_length')) ?></description> 
     30        <description><?php the_content_rss('', 0, '', get_option('rss_excerpt_length')) ?></description> 
    3131<?php } ?> 
    3232        <link><?php permalink_single_rss() ?></link> 
    3333        <?php do_action('rss_item'); ?> 
    3434    </item> 
    35 <?php $items_count++; if (($items_count == get_settings('posts_per_rss')) && empty($m)) { break; } } } ?> 
     35<?php $items_count++; if (($items_count == get_option('posts_per_rss')) && empty($m)) { break; } } } ?> 
    3636</channel> 
    3737</rss>