This is what I get for commiting remotely, should fix currently known issues with atom 1.0
git-svn-id: https://develop.svn.wordpress.org/trunk@4805 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c348336b89
commit
06804aaf72
@ -34,7 +34,7 @@ $more = 1;
|
|||||||
<name><?php the_author() ?></name>
|
<name><?php the_author() ?></name>
|
||||||
<uri><?php the_author_url()?></uri>
|
<uri><?php the_author_url()?></uri>
|
||||||
</author>
|
</author>
|
||||||
<title type="text/html" mode="escaped"><![CDATA[<?php the_title_rss() ?>]]></title>
|
<title type="<?php html_type_rss(); ?>"><![CDATA[<?php the_title_rss() ?>]]></title>
|
||||||
<link rel="alternate" type="text/html" href="<?php permalink_single_rss() ?>" />
|
<link rel="alternate" type="text/html" href="<?php permalink_single_rss() ?>" />
|
||||||
<id><?php the_guid(); ?></id>
|
<id><?php the_guid(); ?></id>
|
||||||
<updated><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></updated>
|
<updated><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></updated>
|
||||||
@ -48,4 +48,4 @@ $more = 1;
|
|||||||
<?php do_action('atom_entry'); ?>
|
<?php do_action('atom_entry'); ?>
|
||||||
</entry>
|
</entry>
|
||||||
<?php endwhile ; ?>
|
<?php endwhile ; ?>
|
||||||
</feed>
|
</feed>
|
||||||
|
@ -166,7 +166,7 @@ function the_category_rss($type = 'rss') {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function html_type_rss() {
|
function html_type_rss() {
|
||||||
$type = bloginfo('html_type');
|
$type = get_bloginfo('html_type');
|
||||||
if ( strstr( $type, 'xhtml' ) )
|
if ( strstr( $type, 'xhtml' ) )
|
||||||
$type = 'xhtml';
|
$type = 'xhtml';
|
||||||
else
|
else
|
||||||
@ -195,4 +195,4 @@ function rss_enclosure() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user