Ticket #16688: 16688.diff
| File 16688.diff, 2.0 KB (added by , 14 years ago) |
|---|
-
wp-includes/comment.php
1717 1717 $excerpt = str_replace(']]>', ']]>', $excerpt); 1718 1718 $excerpt = wp_html_excerpt($excerpt, 252) . '...'; 1719 1719 1720 $post_title = apply_filters('the_title', $post->post_title );1720 $post_title = apply_filters('the_title', $post->post_title, $post->ID); 1721 1721 $post_title = strip_tags($post_title); 1722 1722 1723 1723 if ( $to_ping ) { -
wp-includes/general-template.php
1033 1033 $url = get_permalink($arcresult); 1034 1034 $arc_title = $arcresult->post_title; 1035 1035 if ( $arc_title ) 1036 $text = strip_tags(apply_filters('the_title', $arc_title ));1036 $text = strip_tags(apply_filters('the_title', $arc_title, $arcresult->ID)); 1037 1037 else 1038 1038 $text = $arcresult->ID; 1039 1039 $output .= get_archives_link($url, $text, $format, $before, $after); -
wp-includes/deprecated.php
149 149 150 150 $string = '<a href="'.get_permalink($post->ID).'">'.$previous; 151 151 if ( 'yes' == $title ) 152 $string .= apply_filters('the_title', $post->post_title, $post );152 $string .= apply_filters('the_title', $post->post_title, $post->ID); 153 153 $string .= '</a>'; 154 154 $format = str_replace('%', $string, $format); 155 155 echo $format; … … 185 185 186 186 $string = '<a href="'.get_permalink($post->ID).'">'.$next; 187 187 if ( 'yes' == $title ) 188 $string .= apply_filters('the_title', $post->post_title, $ nextpost);188 $string .= apply_filters('the_title', $post->post_title, $post->ID); 189 189 $string .= '</a>'; 190 190 $format = str_replace('%', $string, $format); 191 191 echo $format;