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
  • branches/2.2/wp-includes/general-template.php

    r5620 r5625  
    219219    if ( is_single() || is_page() ) {
    220220        $post = $wp_query->get_queried_object();
    221         $title = apply_filters('single_post_title', $title);
    222         $title = strip_tags($post->post_title);
     221        $title = strip_tags( apply_filters( 'single_post_title', $post->post_title ) );
    223222    }
    224223
Note: See TracChangeset for help on using the changeset viewer.