mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-07 08:07:16 +00:00
Add the generator element in feeds through the {rss2|atom|rdf|rss|opml}_head hooks. Fixes #6947 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@13113 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+1
-1
@@ -26,11 +26,11 @@ if ((empty ($link_cat)) || ($link_cat == 'all') || ($link_cat == '0')) {
|
||||
$link_cat = intval($link_cat);
|
||||
}
|
||||
?><?php echo '<?xml version="1.0"?'.">\n"; ?>
|
||||
<?php the_generator( 'comment' ); ?>
|
||||
<opml version="1.0">
|
||||
<head>
|
||||
<title>Links for <?php echo esc_attr(get_bloginfo('name', 'display').$cat_name); ?></title>
|
||||
<dateCreated><?php echo gmdate("D, d M Y H:i:s"); ?> GMT</dateCreated>
|
||||
<?php do_action('opml_head'); ?>
|
||||
</head>
|
||||
<body>
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user