fixed depricated and strict php warnings for section widget for wp 3.8