Skip to content

Commit

Permalink
Link OPML changes, fixes #2325
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.automattic.com/wordpress/trunk@3470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
matt committed Jan 23, 2006
1 parent 2c5c084 commit 51944d9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions wp-links-opml.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<?php $sql = "SELECT $wpdb->links.link_url, link_rss, $wpdb->links.link_name, $wpdb->links.link_category, $wpdb->linkcategories.cat_name, link_updated
FROM $wpdb->links
JOIN $wpdb->linkcategories on $wpdb->links.link_category = $wpdb->linkcategories.cat_id
AND $wpdb->links.link_visible = 'Y'
$sql_cat
ORDER BY $wpdb->linkcategories.cat_name, $wpdb->links.link_name \n";
//echo("<!-- $sql -->");
Expand All @@ -51,8 +52,10 @@
<outline text="<?php echo wp_specialchars($result->link_name); ?>" type="link" xmlUrl="<?php echo wp_specialchars($result->link_rss); ?>" htmlUrl="<?php echo wp_specialchars($result->link_url); ?>" updated="<?php if ('0000-00-00 00:00:00' != $result->link_updated) echo $result->link_updated; ?>" />
<?php
} // end foreach
?>
</outline>
<?php
} // end if
?>
</outline>
</body>
</body>
</opml>

0 comments on commit 51944d9

Please sign in to comment.