updated plugin Easy Digital Downloads version 3.1.1.3

This commit is contained in:
2023-03-29 18:20:17 +00:00
committed by Gitium
parent 2573ae37c7
commit e42ba0e05a
20 changed files with 234 additions and 155 deletions

View File

@ -38,7 +38,7 @@ final class Customers extends Table {
* @since 3.0
* @var int
*/
protected $version = 202301021;
protected $version = 202303220;
/**
* Array of upgrade versions and methods
@ -48,9 +48,9 @@ final class Customers extends Table {
* @var array
*/
protected $upgrades = array(
'202002141' => 202002141,
'202006101' => 202006101,
'202301021' => 202301021,
'202303220' => 202303220,
);
/**
@ -248,4 +248,18 @@ final class Customers extends Table {
return $this->is_success( $return_result );
}
/**
* Upgrades the customer database for sites which got into a bit of a snarl with the database versions.
*
* @since 3.1.1.3
* @return bool
*/
protected function __202303220() {
if ( $this->needs_initial_upgrade() ) {
return $this->__202301021();
}
return true;
}
}