PHP is_numeric () fails WordPress version string check
This is, perhaps, obvious to most PHP developers. But it came somewhat as a surprise to me. Using is_numeric () for validating a WordPress version string, such as ‘4.7’, does not seem to work very well when WordPress introduces minor releases such as ‘4.7.1’. Since …