Actually, it's not wise to enable this feature because user will be able to post exploit script that may harm your system.
My Wordpress MU version is 2.6.3 if you used different version just find something looks like below script in widgets.php file
if ( current_user_can('unfiltered_html') )change that part of code with
$text = stripslashes( $widget_text['text'] );
else
$text = stripslashes(wp_filter_post_kses( $widget_text['text'] ));
if ( current_user_can('edit_themes') )Got this tips from Thainy Blog. From now i will write about programming also.
$text = stripslashes( $widget_text['text'] );
else
$text = stripslashes(wp_filter_post_kses( $widget_text['text'] ));
0 comments:
Post a Comment