Feed namespace hooks. Props Denis-de-Bernardy, peaceablewhale. fixes #9792
git-svn-id: http://svn.automattic.com/wordpress/trunk@11303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
def8fb6cd2
commit
c90e3f5f81
|
@ -12,7 +12,7 @@ echo '<?xml version="1.0" encoding="' . get_option('blog_charset') . '" ?' . '>'
|
|||
xmlns="http://www.w3.org/2005/Atom"
|
||||
xml:lang="<?php echo get_option('rss_language'); ?>"
|
||||
xmlns:thr="http://purl.org/syndication/thread/1.0"
|
||||
<?php do_action('atom_ns'); ?>
|
||||
<?php do_action('atom_ns'); do_action('atom_comments_ns'); ?>
|
||||
>
|
||||
<title type="text"><?php
|
||||
if ( is_singular() )
|
||||
|
|
|
@ -14,7 +14,7 @@ echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>';
|
|||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:atom="http://www.w3.org/2005/Atom"
|
||||
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
|
||||
<?php do_action('rss2_comments_ns'); ?>
|
||||
<?php do_action('rss2_ns'); do_action('rss2_comments_ns'); ?>
|
||||
>
|
||||
<channel>
|
||||
<title><?php
|
||||
|
|
Loading…
Reference in New Issue