Make WordPress Core

Ticket #5643: 5643.diff

File 5643.diff, 462 bytes (added by xknown, 17 years ago)
  • wp-includes/theme.php

     
    8383                $author_uti = '';
    8484
    8585        if ( preg_match( '|Template:(.*)$|mi', $theme_data, $template ) )
    86                 $template = wp_kses( trim( $template[1], $themes_allowed_tags ) );
     86                $template = wp_kses( trim( $template[1] ), $themes_allowed_tags );
    8787        else
    8888                $template = '';
    8989