Mitigated createSalt() to functions.php