Feed namespace hooks. Props Denis-de-Bernardy, peaceablewhale. fixes #9792
git-svn-id: https://develop.svn.wordpress.org/trunk@11303 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
74573d082f
commit
2786a02afe
@ -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
Block a user