Widgets might get null bytes in their CSS class
|Reported by:||qualipsoft||Owned by:||azaozz|
|Component:||Widgets||Keywords:||widgets css class has-patch|
When register_sidebar_widget is called with a lambda/create_function as output_callback and no/empty classname, the widget's CSS class will contain "\0lamba_123" (\0 being the null character and 123 being the actual assigned lamba id).
The simple fix might be to left-trim null bytes from the classname (this would fix the case for lambda's, and maybe other cases I'm not aware of)