touchup before pushing to WordPress repo
update empty() calls for older PHP version