Make WordPress Core


Ignore:
Timestamp:
12/30/2003 08:34:57 AM (22 years ago)
Author:
saxmatt
Message:

KSES fixes.

File:
1 edited

Legend:

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

    r659 r663  
    551551
    552552function the_date($d='', $before='', $after='', $echo = true) {
    553     global $id, $post, $day, $previousday, $dateformat, $newday;
     553    global $id, $post, $dateday, $previousday, $dateformat, $newday;
    554554    $the_date = '';
    555     if ($day != $previousday) {
     555    $dateday = mysql2date('Yd', $post->post_date);
     556    if ($dateday != $previousday) {
    556557        $the_date .= $before;
    557558        if ($d=='') {
     
    561562        }
    562563        $the_date .= $after;
    563         $previousday = $day;
     564        $previousday = $dateday;
    564565    }
    565566    $the_date = apply_filters('the_date', $the_date);
     
    16881689    $comment_text = convert_bbcode($comment_text);
    16891690    $comment_text = convert_gmcode($comment_text);
    1690     $comment_text = convert_smilies($comment_text);
    16911691    $comment_text = make_clickable($comment_text);
    16921692    $comment_text = balanceTags($comment_text,1);
    16931693    $comment_text = apply_filters('comment_text', $comment_text);
     1694    $comment_text = convert_smilies($comment_text);
    16941695    echo $comment_text;
    16951696}
Note: See TracChangeset for help on using the changeset viewer.