Ticket #24232: adjacent_post_rel_link.diff
File adjacent_post_rel_link.diff, 547 bytes (added by , 11 years ago) |
---|
-
wp-includes/link-template.php
1227 1227 1228 1228 $title = str_replace('%title', $post_title, $title); 1229 1229 $title = str_replace('%date', $date, $title); 1230 $title = apply_filters('the_title', $title, $post->ID);1230 $title = esc_attr( strip_tags( $title ) ); 1231 1231 1232 1232 $link = $previous ? "<link rel='prev' title='" : "<link rel='next' title='"; 1233 1233 $link .= esc_attr( $title );