Changeset 18907
- Timestamp:
- 10/06/2011 09:09:37 PM (13 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment.php
r18855 r18907 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 -
trunk/wp-includes/deprecated.php
r18827 r18907 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); … … 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); -
trunk/wp-includes/general-template.php
r18723 r18907 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;
Note: See TracChangeset
for help on using the changeset viewer.