WordPress.org

Ready to get started?Download WordPress

Forums

Patch: wp-includes/kses.php (2 posts)

  1. Joseph Scott
    Member
    Posted 10 years ago #

    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
    +?>

  2. gnohara
    Member
    Posted 8 years ago #

    Sorry guys... reuploaded kses.php and this worked fine. Problem resolved.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.