Allow shortcodes in widgets.

Hi !

I need to allow the shortcode in my text widget, to be enable to use several things. I found the hack to inssert in the widget. But not the file and place to insert it. Could tou help ?

if (!is_admin())
add_filter('widget_text', 'do_shortcode', SHORTCODE_PRIORITY);