diff --git a/wp-includes/feed-atom-comments.php b/wp-includes/feed-atom-comments.php index 13a55a206a..d9c8f6529d 100644 --- a/wp-includes/feed-atom-comments.php +++ b/wp-includes/feed-atom-comments.php @@ -7,15 +7,18 @@ header('Content-Type: ' . feed_content_type('atom') . '; charset=' . get_option('blog_charset'), true); echo ''; + +/** This action is documented in wp-includes/feed-rss2.php */ +do_action( 'rss_tag_pre', 'atom-comments' ); ?> ' -'; ?> +echo ''; + +/** This action is documented in wp-includes/feed-rss2.php */ +do_action( 'rss_tag_pre', 'atom' ); +?> '; ?> +echo ''; + +/** This action is documented in wp-includes/feed-rss2.php */ +do_action( 'rss_tag_pre', 'rdf' ); +?> '; + +/** This action is documented in wp-includes/feed-rss2.php */ +do_action( 'rss_tag_pre', 'rss2-comments' ); ?> '; ?> +echo ''; +/** + * Fires between the and tags in a feed. + * + * @since 4.0.0 + * + * @param string $context Type of feed. Possible values include 'rss2', 'rss2-comments', + * 'rdf', 'atom', and 'atom-comments'. + */ +do_action( 'rss_tag_pre', 'rss2' ); +?>