Make WordPress Core

Ticket #5403: 5403.patch

File 5403.patch, 519 bytes (added by Viper007Bond, 17 years ago)
  • wp-includes/link-template.php

     
    440440        $title = apply_filters('the_title', $title, $post);
    441441        $string = '<a href="'.get_permalink($post->ID).'">';
    442442        $link = str_replace('%title', $title, $link);
    443         $link = $pre . $string . $link . '</a>';
     443        $link = $string . $link . '</a>';
    444444
    445445        $format = str_replace('%link', $link, $format);
    446446