WordPress.org

Make WordPress Core

Changeset 4144 for trunk/wp-atom.php


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

Use get_option instead of get_settings. Just 'cause.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-atom.php

    r2627 r4144  
    66}
    77
    8 header('Content-type: application/atom+xml; charset=' . get_settings('blog_charset'), true);
     8header('Content-type: application/atom+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<feed version="0.3"
    1414  xmlns="http://purl.org/atom/ns#"
     
    3636        <?php the_category_rss('rdf') ?>
    3737        <summary type="text/plain" mode="escaped"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary>
    38 <?php if ( !get_settings('rss_use_excerpt') ) : ?>
     38<?php if ( !get_option('rss_use_excerpt') ) : ?>
    3939        <content type="<?php bloginfo('html_type'); ?>" mode="escaped" xml:base="<?php permalink_single_rss() ?>"><![CDATA[<?php the_content('', 0, '') ?>]]></content>
    4040<?php endif; ?>
     
    4242<?php do_action('atom_entry'); ?>
    4343    </entry>
    44     <?php $items_count++; if (($items_count == get_settings('posts_per_rss')) && empty($m)) { break; } } } ?>
     44    <?php $items_count++; if (($items_count == get_option('posts_per_rss')) && empty($m)) { break; } } } ?>
    4545</feed>
Note: See TracChangeset for help on using the changeset viewer.