bug 1137: Added new restrictions to the checks
bug 1137: corrected some checks in wot.inc.php and wot.php