Fixed some warnings

They occurred with WordPress (3.8.1) in debug mode and PHP (5.5.3) in strict standards mode.