Title: Patch: wp-includes/kses.php
Last modified: August 18, 2016

---

# Patch: wp-includes/kses.php

 *  [Joseph Scott](https://wordpress.org/support/users/josephscott/)
 * (@josephscott)
 * [22 years ago](https://wordpress.org/support/topic/patch-wp-includesksesphp/)
 * 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)

 *  [gnohara](https://wordpress.org/support/users/gnohara/)
 * (@gnohara)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/patch-wp-includesksesphp/#post-57623)
 * Sorry guys… reuploaded kses.php and this worked fine. Problem resolved.

Viewing 1 replies (of 1 total)

The topic ‘Patch: wp-includes/kses.php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [gnohara](https://wordpress.org/support/users/gnohara/)
 * Last activity: [20 years, 7 months ago](https://wordpress.org/support/topic/patch-wp-includesksesphp/#post-57623)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
