If you run a WordPress MU installation, you probably notice that there are some HTML tags that are stripped (removed after an entry was posted). For example, when you upload a picture, you want to add
style="float: right; margin-left: 10px;" so that you get a better entry formatting.
By default, this
style="" is filtered. If you are sure that you want to enable this tag, you can do it easily. Open your
wp-includes directory. Around line 20, you will find this line:
$allowedposttags = array.
'img' => array ( 'alt' => array (), 'border' => array (), 'class' => array (), 'height' => array (), 'hspace' => array (), 'longdesc' => array (), 'vspace' => array (), 'src' => array (), 'width' => array ()),
class, etc. are the code that are permitted to be used in the entry — to me more spesific, inside
tag. If you want to allow
style="" in the post, just add a new line:
'style' => array(),. Easy, right?