Skip to content

Commit

Permalink
Atualiza verificação de dependência WCS (#141)
Browse files Browse the repository at this point in the history
* Atualiza verificação de dependência WCS

* Versionamento
  • Loading branch information
laerte-guimaraes authored Jan 31, 2020
1 parent 7948f09 commit 7cab903
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 15 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Notas das versões

## [5.5.4 - 31/01/2020](https://github.com/vindi/vindi-woocommerce-subscriptions/releases/tag/5.5.4)

### Ajustado
- Ajusta verificação de status do plugin WooCommerce Subscriptions para garantir compatibilidade com novas versões


## [5.5.3 - 30/01/2020](https://github.com/vindi/vindi-woocommerce-subscriptions/releases/tag/5.5.3)

### Corrigido
Expand Down
8 changes: 1 addition & 7 deletions includes/class-vindi-dependencies.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,7 @@ public static function wc_subscriptions_are_activated()
],
];

if(self::plugin_are_active($wc_subscriptions)){
if(self::verify_version_of_plugin($wc_subscriptions)){
return true;
}
}

return false;
return self::plugin_are_active($wc_subscriptions) || class_exists('WC_Subscriptions');
}

/**
Expand Down
9 changes: 6 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ Contributors: erico.pedroso, wnarde, lyoncesar, laertejr
Website Link: https://www.vindi.com.br
Tags: vindi, subscriptions, pagamento-recorrente, cobranca-recorrente, cobrança-recorrente, recurring, site-de-assinatura, assinaturas, faturamento-recorrente, recorrencia, assinatura, woocommerce-subscriptions, vindi-woocommerce
Requires at least: 4.4
Tested up to: 5.2.1
Tested up to: 5.3.2
WC requires at least: 3.0.0
WC tested up to: 3.6.4
Stable Tag: 5.5.3
WC tested up to: 3.8.1
Stable Tag: 5.5.4
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand All @@ -27,6 +27,9 @@ Para dúvidas e suporte técnico, entre em contato com a equipe Vindi através d

== Changelog ==

= 5.5.4 - 31/01/2020 =
- Ajusta verificação de status do plugin WooCommerce Subscriptions para garantir compatibilidade com novas versões

= 5.5.3 - 30/01/2020 =
- Remove exibição dos campos para assinatura Vindi quando o Woocommerce Subscriptions não está habilitado

Expand Down
10 changes: 5 additions & 5 deletions vindi-woocommerce-subscriptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
* Plugin Name: Vindi Woocommerce
* Plugin URI:
* Description: Adiciona o gateway de pagamentos da Vindi para o WooCommerce.
* Version: 5.5.3
* Version: 5.5.4
* Author: Vindi
* Author URI: https://www.vindi.com.br
* Requires at least: 4.4
* Tested up to: 5.2.1
* Tested up to: 5.3.2
* WC requires at least: 3.0.0
* WC tested up to: 3.6.4
* WC tested up to: 3.8.1
*
* Text Domain: vindi-woocommerce-subscriptions
* Domain Path: /languages/
*
* Copyright: © 2014-2018 Vindi Tecnologia e Marketing LTDA
* Copyright: © 2014-2020 Vindi Tecnologia e Marketing LTDA
* License: GPLv3 or later
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
Expand All @@ -39,7 +39,7 @@ class Vindi_WooCommerce_Subscriptions
/**
* @var string
*/
const VERSION = '5.5.3';
const VERSION = '5.5.4';

/**
* @var string
Expand Down

0 comments on commit 7cab903

Please sign in to comment.