WP version check

Unless otherwise specified, all code here is licensed GPLv2