attribute_escape() the OPML feed's title. fixes #4061

git-svn-id: http://svn.automattic.com/wordpress/trunk@5155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rob1n 2007-03-31 20:15:10 +00:00
parent 48016d121a
commit 83be93d229

View File

@ -17,7 +17,7 @@ if ((empty ($link_cat)) || ($link_cat == 'all') || ($link_cat == '0')) {
<!-- generator="wordpress/<?php bloginfo_rss('version') ?>" -->
<opml version="1.0">
<head>
<title>Links for <?php echo get_bloginfo('name').$cat_name ?></title>
<title>Links for <?php echo attribute_escape(get_bloginfo('name').$cat_name); ?></title>
<dateCreated><?php echo gmdate("D, d M Y H:i:s"); ?> GMT</dateCreated>
</head>
<body>