WordPress.org

Make WordPress Core

Ticket #5061: bookmark-template.php.diff

File bookmark-template.php.diff, 794 bytes (added by darkfate, 11 years ago)

revert to r6159

  • bookmark-template.php

     
    2525                if ( '' != $rel )
    2626                        $rel = ' rel="' . $rel . '"';
    2727
    28                 $desc = attribute_escape(sanitize_bookmark_field('link_description', $row->link_description, $row->link_id, 'display'));
    29                 $name = attribute_escape(sanitize_bookmark_field('link_name', $row->link_name, $row->link_id, 'display'));
     28                $desc = attribute_escape(apply_filters('link_description', $bookmark->link_description));
     29                $name = attribute_escape(apply_filters('link_title', $bookmark->link_name));
    3030                $title = $desc;
    3131
    3232                if ( $show_updated )
     
    128128        echo $output;
    129129}
    130130
    131 ?>
     131?>
     132 No newline at end of file