Required fix to properly store new widget/shortcode attributes into database.
Ticket #ED-3 #3