Make WordPress Core

Changeset 4144 for trunk/wp-rdf.php


Ignore:
Timestamp:
08/30/2006 09:46:31 PM (18 years ago)
Author:
ryan
Message:

Use get_option instead of get_settings. Just 'cause.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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; ?>
Note: See TracChangeset for help on using the changeset viewer.