Make WordPress Core


Ignore:
Timestamp:
06/01/2007 10:54:46 PM (17 years ago)
Author:
rob1n
Message:

Fix wp_title single post title filters. Props jhodgdon. fixes #3755

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/general-template.php

    r5619 r5625  
    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 = strip_tags( apply_filters( 'single_post_title', $post->post_title ) );
    231230    }
    232231
Note: See TracChangeset for help on using the changeset viewer.