WordPress.org

Make WordPress Core

Ticket #5746: 5746.diff

File 5746.diff, 494 bytes (added by DD32, 10 years ago)

Make it so.

  • wp-includes/post-template.php

     
    5959        else if ( isset($post->post_status) && 'private' == $post->post_status )
    6060                $title = sprintf(__('Private: %s'), $title);
    6161
    62         return apply_filters( 'the_title', $title );
     62        return apply_filters( 'the_title', $title, $post->ID );
    6363}
    6464
    6565function the_guid( $id = 0 ) {