/**
  * Let's check Wordpress version, and PHP version and tell those
  * guys whats needed to upgrade, if anything.
  *
  * @return bool
  */
 public static function checkRequirements()
 {
     global $wp_version;
     $wp_version_min = '3.0';
     $php = '5.3';
     $recoverUrl = admin_url('plugins.php');
     $recoverLink = '<br /><br /><a href="' . $recoverUrl . '">Back to plugins.</a>';
     if (!version_compare($wp_version, $wp_version_min, '>=')) {
         reqCheck::pluginDeactivate('Sorry mate, this plugin requires at least WordPress varsion <strong>' . $wp_version_min . ' or higher.</strong> You are currently using <strong>' . $wp_version . '.</strong> Please upgrade your WordPress.' . $recoverLink);
     } elseif (!version_compare(PHP_VERSION, $php, '>=')) {
         reqCheck::pluginDeactivate('You need PHP version at least <strong>' . $php . '</strong> to run this plugin. You are currently using PHP version <strong>' . PHP_VERSION . '.</strong>' . $recoverLink);
     }
 }