WordPress.org

Make WordPress Core

Ticket #3755: general-template-php4.diff

File general-template-php4.diff, 646 bytes (added by jhodgdon, 13 years ago)

Diff for re-patch of the fix that was submitted so it will actually work

  • E:/EclipseWork/WordPressDev/wp-includes/general-template.php

     
    226226        // If there is a post
    227227        if ( is_single() || is_page() ) {
    228228                $post = $wp_query->get_queried_object();
    229                 $title = apply_filters('single_post_title', $title);
    230                 $title = strip_tags($post->post_title);
     229                $title = apply_filters('single_post_title', $post->post_title);
     230                $title = strip_tags($title);
    231231        }
    232232
    233233        $prefix = '';