Changeset 4144 for trunk/wp-rdf.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-rdf.php

    r2860 r4144  
    66} 
    77 
    8 header('Content-type: application/rdf+xml; charset=' . get_settings('blog_charset'), true); 
     8header('Content-type: application/rdf+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<rdf:RDF 
     
    4646    <dc:creator><?php the_author() ?></dc:creator> 
    4747    <?php the_category_rss('rdf') ?> 
    48 <?php if (get_settings('rss_use_excerpt')) : ?> 
     48<?php if (get_option('rss_use_excerpt')) : ?> 
    4949    <description><?php the_excerpt_rss() ?></description> 
    5050<?php else : ?> 
    51     <description><?php the_content_rss('', 0, '', get_settings('rss_excerpt_length'), 2) ?></description> 
     51    <description><?php the_content_rss('', 0, '', get_option('rss_excerpt_length'), 2) ?></description> 
    5252    <content:encoded><![CDATA[<?php the_content('', 0, '') ?>]]></content:encoded> 
    5353<?php endif; ?>