fix php strict warning
update version, add WordPress 4 compatible