Added wordpress version detection