Changeset 6160 for trunk/wp-includes/deprecated.php
- Timestamp:
- 09/23/2007 07:25:15 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/deprecated.php
r6088 r6160 586 586 $rel = ' rel="' . $rel . '"'; 587 587 588 $desc = attribute_escape( $row->link_description);589 $name = attribute_escape( $row->link_name);588 $desc = attribute_escape(sanitize_bookmark_field('link_description', $row->link_description, $row->link_id, 'display')); 589 $name = attribute_escape(sanitize_bookmark_field('link_name', $row->link_name, $row->link_id, 'display')); 590 590 $title = $desc; 591 591 … … 668 668 669 669 // Display the category name 670 echo ' <li id="linkcat-' . $cat->term_id . '" class="linkcat"><h2>' . $cat->name. "</h2>\n\t<ul>\n";670 echo ' <li id="linkcat-' . $cat->term_id . '" class="linkcat"><h2>' . apply_filters('link_category', $cat->name ) . "</h2>\n\t<ul>\n"; 671 671 // Call get_links() with all the appropriate params 672 672 get_links($cat->term_id, '<li>', "</li>", "\n", true, 'name', false); … … 705 705 706 706 function get_linkrating($link) { 707 return apply_filters('link_rating', $link->link_rating);707 return sanitize_bookmark_field('link_rating', $link->link_rating, $link->link_id, 'display'); 708 708 } 709 709
Note: See TracChangeset
for help on using the changeset viewer.