Make WordPress Core


Ignore:
Timestamp:
03/10/2007 05:13:40 AM (18 years ago)
Author:
ryan
Message:

apply filter before stripping tags. Props jhodgdon. fixes #3755

File:
1 edited

Legend:

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

    r5013 r5014  
    216216    if ( is_single() || is_page() ) {
    217217        $post = $wp_query->get_queried_object();
     218        $title = apply_filters('single_post_title', $title);
    218219        $title = strip_tags($post->post_title);
    219         $title = apply_filters('single_post_title', $title);
    220220    }
    221221
Note: See TracChangeset for help on using the changeset viewer.