Widgets code run before admin_head hook is called
|Reported by:||omry||Owned by:|
When opening the widgets page in the administration section, the widgets are initialized before admin_head is called.
many plugin initializes in an admin_head callback, and in some cases the widgets initialization depends on the plugin initialization.
Logically it's also appropriate to call admin_head action first.