Changeset 2716493
- Timestamp:
- 04/29/2022 08:05:49 PM (4 years ago)
- Location:
- drip-payments/trunk
- Files:
-
- 4 edited
-
drip-payments.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
-
src/DripSingleProductBannerAndModal.php (modified) (1 diff)
-
src/DripUtils.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
drip-payments/trunk/drip-payments.php
r2716431 r2716493 4 4 * Description: Forneça a Drip como opção de pagamento para pedidos do WooCommerce. 5 5 * Author: Drip 6 * Version: 1.0. 06 * Version: 1.0.1 7 7 */ 8 8 … … 70 70 { 71 71 // 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')) { 73 73 return 'no'; 74 74 } 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"; 75 77 76 78 // check atual server status. if in cache(valid) return cache … … 255 257 256 258 $order_products[] = [ 257 ' id' => $actual_product->get_id(),259 'productId' => $actual_product->get_id(), 258 260 'name' => $product->get_name(), 259 261 'created' => $actual_product->get_date_created()->date("yy-m-d"), -
drip-payments/trunk/readme.txt
r2716409 r2716493 5 5 Tested up to: 5.9.2 6 6 Requires PHP: 7.0 7 Stable tag: 1.0. 07 Stable tag: 1.0.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
drip-payments/trunk/src/DripSingleProductBannerAndModal.php
r2716410 r2716493 10 10 11 11 $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>"; 12 13 if ($banner_is_active === "0") return; 13 14 -
drip-payments/trunk/src/DripUtils.php
r2716410 r2716493 3 3 const DRIP_PAYMENTS_FRONTEND_URL = "https://drip-fe.usedrip.com.br/"; 4 4 5 const DRIP_PAYMENTS_ACTUAL_PLUGIN_VERSION = '1.0. 0';5 const DRIP_PAYMENTS_ACTUAL_PLUGIN_VERSION = '1.0.1'; 6 6 7 7 // add plugin version to footer
Note: See TracChangeset
for help on using the changeset viewer.