equal
deleted
inserted
replaced
2 /** |
2 /** |
3 * Atom Feed Template for displaying Atom Posts feed. |
3 * Atom Feed Template for displaying Atom Posts feed. |
4 * |
4 * |
5 * @package WordPress |
5 * @package WordPress |
6 */ |
6 */ |
|
7 |
|
8 // Don't load directly. |
|
9 if ( ! defined( 'ABSPATH' ) ) { |
|
10 die( '-1' ); |
|
11 } |
7 |
12 |
8 header( 'Content-Type: ' . feed_content_type( 'atom' ) . '; charset=' . get_option( 'blog_charset' ), true ); |
13 header( 'Content-Type: ' . feed_content_type( 'atom' ) . '; charset=' . get_option( 'blog_charset' ), true ); |
9 $more = 1; |
14 $more = 1; |
10 |
15 |
11 echo '<?xml version="1.0" encoding="' . get_option( 'blog_charset' ) . '"?' . '>'; |
16 echo '<?xml version="1.0" encoding="' . get_option( 'blog_charset' ) . '"?' . '>'; |