Make WordPress Core

Changeset 663


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

KSES fixes.

Location:
trunk/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/kses.php

    r650 r663  
    1515                 'strong' => array(),
    1616                 'code' => array(),
     17                 'acronym' => array('title'),
     18                 'abbr' => array('title'),
    1719                 'em' => array(),
    1820                 'strike' => array(),
    19                  'a' => array('href'  => array('minlen' => 3, 'maxlen' => 50),
    20                               'title' => array('valueless' => 'n'),
     21                 'a' => array('href'  => array('minlen' => 6, 'maxlen' => 250),
     22                              'title',
    2123                              'rel' => array('minlen' => 3, 'maxlen' => 250)),
    2224                'blockquote' => array('cite' => array()),
     25                'del' => array('datetime'),
    2326                 'br' => array());
    2427
  • 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.