• In the current version of CVS (as of 11:29pm 24 May 04 PDT) I get the following error:
    [error] WordPress Error: errno: 8 errstr: Undefined index: br errfile: /Users/joseph/Sites/wordpress-cvs/wp-includes/kses.php errline: 122
    When viewing wp-admin/edit-comments.php. Removing the comment for br in wp-includes/kses.php appears to fix this problem. The following patch does that:
    diff -u -u -r1.11 kses.php
    --- wp-includes/kses.php 9 May 2004 23:25:24 -0000 1.11
    +++ wp-includes/kses.php 25 May 2004 05:57:54 -0000
    @@ -23,7 +23,7 @@
    'acronym' => array('title' => array()),
    'b' => array(),
    'blockquote' => array('cite' => array()),
    -// 'br' => array(),
    + 'br' => array(),
    'code' => array(),
    // 'del' => array('datetime' => array()),
    // 'dd' => array(),
    @@ -565,4 +565,4 @@
    add_filter('comment_author', 'wp_filter_kses');
    add_filter('comment_text', 'wp_filter_kses');
    -?>
    \ No newline at end of file
    +?>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Patch: wp-includes/kses.php’ is closed to new replies.