Make WordPress Core

Ticket #9319: post-template.php.patch

File post-template.php.patch, 431 bytes (added by westonruter, 16 years ago)

Addition of $post argument to the apply_filters() call in get_the_title()

  • post-template.php

     
    114114                else if ( isset($post->post_status) && 'private' == $post->post_status )
    115115                        $title = sprintf(__('Private: %s'), $title);
    116116        }
    117         return apply_filters( 'the_title', $title );
     117        return apply_filters( 'the_title', $title, $post );
    118118}
    119119
    120120/**