Hi !
Thanks for this very usefull tip !
I just here to update it :
-
– On wordpress 2.2.1 you have to add :
$before_widget = preg_replace('/id="[^"]*"/','id="%id"', $before_widget);
before line 397 (after the } else {
)
-
– there are 2 “widgets.php” files, the one we are talking about is : wordpress/wp-includes/widgets.php