Ticket #10640: 13693.diff
File 13693.diff, 674 bytes (added by , 15 years ago) |
---|
-
wp-includes/link-template.php
2154 2154 2155 2155 $shortlink = wp_get_shortlink($post->ID); 2156 2156 2157 if ( !empty($shortlink) ) 2158 echo "$before<a rel='shortlink' href='$shortlink' title='$title'>$text</a>$after"; 2157 if ( !empty( $shortlink ) ) { 2158 $link = '<a rel="shortlink" href="' . esc_attr( $shortlink ) . '" title="' 2159 . esc_attr( $title ) . '">' . $text . '</a>'; 2160 $link = apply_filters( 'the_shortlink', $link, $shortlink, $text, $title ); 2161 echo $before, $link, $after; 2162 } 2159 2163 } 2160 2164 2161 2165 ?>