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

git-svn-id: https://develop.svn.wordpress.org/trunk@5155 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
rob1n 2007-03-31 20:15:10 +00:00
parent a6aecd4f7d
commit 00915234c2

View File

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