/**
  * Used to check if a user ID is greater than the last user upgraded to version 1.4.
  *
  * Needs to be a separate function so that it can use a static variable (and therefore avoid calling get_option() thousands
  * of times when iterating over thousands of users).
  *
  * @since 1.4
  */
 public static function is_user_upgraded($user_id)
 {
     if (false === self::$last_upgraded_user_id) {
         self::$last_upgraded_user_id = get_option('wcs_1_4_last_upgraded_user_id', 0);
     }
     return $user_id > self::$last_upgraded_user_id ? true : false;
 }
 /**
  * Used to check if a user ID is greater than the last user upgraded to version 1.4.
  *
  * Needs to be a separate function so that it can use a static variable (and therefore avoid calling get_option() thousands
  * of times when iterating over thousands of users).
  *
  * @since 1.4
  */
 public static function is_user_upgraded_to_1_4($user_id)
 {
     _deprecated_function(__METHOD__, '2.0', 'WCS_Upgrade_1_4::is_user_upgraded( $user_id )');
     return WCS_Upgrade_1_4::is_user_upgraded($user_id);
 }