Ticket #16688: 16688.2.diff
| File 16688.2.diff, 2.4 KB (added by , 14 years ago) |
|---|
-
wp-includes/comment.php
function do_trackbacks($post_id) { 1711 1711 $excerpt = str_replace(']]>', ']]>', $excerpt); 1712 1712 $excerpt = wp_html_excerpt($excerpt, 252) . '...'; 1713 1713 1714 $post_title = apply_filters('the_title', $post->post_title );1714 $post_title = apply_filters('the_title', $post->post_title, $post->ID); 1715 1715 $post_title = strip_tags($post_title); 1716 1716 1717 1717 if ( $to_ping ) { -
wp-includes/deprecated.php
function previous_post($format='%', $previous='previous post: ', $title='yes', $ 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; … … function next_post($format='%', $next='next post: ', $title='yes', $in_same_cat= 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; -
wp-includes/general-template.php
function wp_get_archives($args = '') { 1012 1012 if ( $arcresults ) { 1013 1013 foreach ( (array) $arcresults as $arcresult ) { 1014 1014 if ( $arcresult->post_date != '0000-00-00 00:00:00' ) { 1015 $url = get_permalink($arcresult); 1016 $arc_title = $arcresult->post_title; 1017 if ( $arc_title ) 1018 $text = strip_tags(apply_filters('the_title', $arc_title)); 1015 $url = get_permalink( $arcresult ); 1016 if ( $arcresult->post_title ) 1017 $text = strip_tags( apply_filters( 'the_title', $arcresult->post_title, $arcresult->ID ) ); 1019 1018 else 1020 1019 $text = $arcresult->ID; 1021 1020 $output .= get_archives_link($url, $text, $format, $before, $after);