This is what I get for commiting remotely, should fix currently known issues with atom 1.0
git-svn-id: http://svn.automattic.com/wordpress/trunk@4805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4296c78d54
commit
a53887fc7f
|
@ -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>
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue