Vulnerable plugin updates. See Issue #264
Refactored version method to use ternary operator.