Make WordPress Core


Ignore:
Timestamp:
10/06/2011 09:09:37 PM (13 years ago)
Author:
markjaquith
Message:

Always pass the post ID as the second argument to the the_title filter. props GaryJ. fixes #16688

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment.php

    r18855 r18907  
    17121712    $excerpt = wp_html_excerpt($excerpt, 252) . '...';
    17131713
    1714     $post_title = apply_filters('the_title', $post->post_title);
     1714    $post_title = apply_filters('the_title', $post->post_title, $post->ID);
    17151715    $post_title = strip_tags($post_title);
    17161716
Note: See TracChangeset for help on using the changeset viewer.