Plugin Directory

Changeset 2716493


Ignore:
Timestamp:
04/29/2022 08:05:49 PM (4 years ago)
Author:
usedrip
Message:

upgrade to v1.0.1

Location:
drip-payments/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • drip-payments/trunk/drip-payments.php

    r2716431 r2716493  
    44 * Description: Forneça a Drip como opção de pagamento para pedidos do WooCommerce.
    55 * Author: Drip
    6  * Version: 1.0.0
     6 * Version: 1.0.1
    77 */
    88
     
    7070        {
    7171            // get plugin option for enabled or disabled, if disabled, return false
    72             if (!$this->get_option('enabled') || strlen($this->api_key) < 10) {
     72            if (!$this->get_option('enabled')) {
    7373                return 'no';
    7474            }
     75
     76            if (!is_string($this->api_key) || (preg_match('/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/', $this->api_key) !== 1)) return "no";
    7577
    7678            // check atual server status. if in cache(valid) return cache
     
    255257
    256258                $order_products[] = [
    257                     'id' => $actual_product->get_id(),
     259                    'productId' => $actual_product->get_id(),
    258260                    'name' => $product->get_name(),
    259261                    'created' => $actual_product->get_date_created()->date("yy-m-d"),
  • drip-payments/trunk/readme.txt

    r2716409 r2716493  
    55Tested up to: 5.9.2
    66Requires PHP: 7.0
    7 Stable tag: 1.0.0
     7Stable tag: 1.0.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • drip-payments/trunk/src/DripSingleProductBannerAndModal.php

    r2716410 r2716493  
    1010
    1111    $banner_is_active = get_option('drip_payments_single_product_banner_is_active', null);
     12    echo '<p style="display: none;">drip_banner_is_active_value: ' . $banner_is_active . "</p>";
    1213    if ($banner_is_active === "0") return;
    1314
  • drip-payments/trunk/src/DripUtils.php

    r2716410 r2716493  
    33const DRIP_PAYMENTS_FRONTEND_URL = "https://drip-fe.usedrip.com.br/";
    44
    5 const DRIP_PAYMENTS_ACTUAL_PLUGIN_VERSION = '1.0.0';
     5const DRIP_PAYMENTS_ACTUAL_PLUGIN_VERSION = '1.0.1';
    66
    77// add plugin version to footer
Note: See TracChangeset for help on using the changeset viewer.