Changeset 11109 for trunk/wp-links-opml.php
- Timestamp:
- 04/28/2009 05:58:45 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-links-opml.php
r7991 r11109 30 30 <opml version="1.0"> 31 31 <head> 32 <title>Links for <?php echo attr ibute_escape(get_bloginfo('name', 'display').$cat_name); ?></title>32 <title>Links for <?php echo attr(get_bloginfo('name', 'display').$cat_name); ?></title> 33 33 <dateCreated><?php echo gmdate("D, d M Y H:i:s"); ?> GMT</dateCreated> 34 34 </head> … … 45 45 46 46 ?> 47 <outline type="category" title="<?php echo attr ibute_escape($catname); ?>">47 <outline type="category" title="<?php echo attr($catname); ?>"> 48 48 <?php 49 49 50 50 $bookmarks = get_bookmarks("category={$cat->term_id}"); 51 51 foreach ((array) $bookmarks as $bookmark) { 52 $title = attr ibute_escape(apply_filters('link_title', $bookmark->link_name));52 $title = attr(apply_filters('link_title', $bookmark->link_name)); 53 53 ?> 54 <outline text="<?php echo $title; ?>" type="link" xmlUrl="<?php echo attr ibute_escape($bookmark->link_rss); ?>" htmlUrl="<?php echo attribute_escape($bookmark->link_url); ?>" updated="<?php if ('0000-00-00 00:00:00' != $bookmark->link_updated) echo $bookmark->link_updated; ?>" />54 <outline text="<?php echo $title; ?>" type="link" xmlUrl="<?php echo attr($bookmark->link_rss); ?>" htmlUrl="<?php echo attr($bookmark->link_url); ?>" updated="<?php if ('0000-00-00 00:00:00' != $bookmark->link_updated) echo $bookmark->link_updated; ?>" /> 55 55 <?php 56 56
Note: See TracChangeset
for help on using the changeset viewer.