Ticket #1816: links.php.diff
File links.php.diff, 1005 bytes (added by , 20 years ago) |
---|
-
wp-includes/links.php
529 529 $cats = $wpdb->get_results(" 530 530 SELECT DISTINCT link_category, cat_name, show_images, 531 531 show_description, show_rating, show_updated, sort_order, 532 sort_desc, list_limit 532 sort_desc, list_limit, text_before_link, text_after_link, text_after_all 533 533 FROM `$wpdb->links` 534 534 LEFT JOIN `$wpdb->linkcategories` ON (link_category = cat_id) 535 535 WHERE link_visible = 'Y' … … 548 548 echo ' <li id="linkcat-' . $cat['link_category'] . '"><h2>' . $cat['cat_name'] . "</h2>\n\t<ul>\n"; 549 549 // Call get_links() with all the appropriate params 550 550 get_links($cat['link_category'], 551 '<li>',"</li>","\n", 551 $cat['text_before_link'], 552 $cat['text_after_all'], 553 $cat['text_after_link'], 552 554 bool_from_yn($cat['show_images']), 553 555 $orderby, 554 556 bool_from_yn($cat['show_description']),