Link OPML changes, fixes #2325
git-svn-id: https://develop.svn.wordpress.org/trunk@3470 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
baeea6657e
commit
dbdd0e5d84
@ -29,6 +29,7 @@ if ((empty($link_cat)) || ($link_cat == 'all') || ($link_cat == '0')) {
|
||||
<?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 -->");
|
||||
@ -51,8 +52,10 @@ FROM $wpdb->links
|
||||
<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
|
||||
} // end if
|
||||
?>
|
||||
</outline>
|
||||
</body>
|
||||
<?php
|
||||
} // end if
|
||||
?>
|
||||
</body>
|
||||
</opml>
|
Loading…
Reference in New Issue
Block a user