Skip to content

Commit 2786a02

Browse files
committed
Feed namespace hooks. Props Denis-de-Bernardy, peaceablewhale. fixes WordPress#9792
git-svn-id: https://develop.svn.wordpress.org/trunk@11303 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 74573d0 commit 2786a02

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

wp-includes/feed-atom-comments.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
xmlns="http://www.w3.org/2005/Atom"
1313
xml:lang="<?php echo get_option('rss_language'); ?>"
1414
xmlns:thr="http://purl.org/syndication/thread/1.0"
15-
<?php do_action('atom_ns'); ?>
15+
<?php do_action('atom_ns'); do_action('atom_comments_ns'); ?>
1616
>
1717
<title type="text"><?php
1818
if ( is_singular() )

wp-includes/feed-rss2-comments.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
xmlns:dc="http://purl.org/dc/elements/1.1/"
1515
xmlns:atom="http://www.w3.org/2005/Atom"
1616
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
17-
<?php do_action('rss2_comments_ns'); ?>
17+
<?php do_action('rss2_ns'); do_action('rss2_comments_ns'); ?>
1818
>
1919
<channel>
2020
<title><?php

0 commit comments

Comments
 (0)