I used code bellow (kses.php) as a plugin placed inside MU-plugins dir. It woked fine until I did an upgrade from MU 1.3.3 to MU 1.5 release candidate. What could cause this strange behavior?
<?php
function addabitofclass( $tags ) {
global $allowedposttags;
foreach( $allowedposttags as $tag => $attr ) {
$attr[ 'class' ] = array();
$attr[ 'id' ] = array();
$allowedposttags[ $tag ] = $attr;
}
return $allowedposttags;
}
add_filter( 'edit_allowedposttags', 'addabitofclass' );
?>