Changeset 3031985
- Timestamp:
- 02/06/2024 07:14:14 AM (2 years ago)
- Location:
- subre-product-subscription-for-woo/trunk
- Files:
-
- 6 edited
-
CHANGELOG.txt (modified) (1 diff)
-
includes/subscription-order.php (modified) (1 diff)
-
includes/subscription-schedule.php (modified) (1 diff)
-
includes/support.php (modified) (3 diffs)
-
readme.txt (modified) (3 diffs)
-
subre-product-subscription-for-woo.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
subre-product-subscription-for-woo/trunk/CHANGELOG.txt
r2991521 r3031985 1 /**1.0.4 - 2024.02.06**/ 2 – Fixed: Data type in create_renewal_order function 3 1 4 /**1.0.3 - 2023.11.08**/ 2 5 – Updated: Compatible with WordPress 6.4 -
subre-product-subscription-for-woo/trunk/includes/subscription-order.php
r2984097 r3031985 327 327 $current_renewal_order = $subscription->get_meta( '_subre_subscription_current_renewal_order', true ); 328 328 329 $expired_interval = time() - $sub_expire;329 $expired_interval = time() - intval( $sub_expire ); 330 330 331 331 if ( $current_renewal_order && ! wc_get_order( $current_renewal_order ) ) { -
subre-product-subscription-for-woo/trunk/includes/subscription-schedule.php
r2984097 r3031985 95 95 ); 96 96 97 $the_query = new WP_Query( $args );97 $the_query = new WP_Query( $args ); 98 98 self::log( 'On-hold more than ' . $past_due_by . ' day: ' . var_export( $the_query->posts, true ) ); 99 99 -
subre-product-subscription-for-woo/trunk/includes/support.php
r2984097 r3031985 8 8 /** 9 9 * Class VillaTheme_Support 10 * 1.1. 810 * 1.1.9 11 11 */ 12 12 class VillaTheme_Support { 13 13 protected $plugin_base_name; 14 14 protected $ads_data; 15 protected $version = '1.1. 8';15 protected $version = '1.1.9'; 16 16 protected $data = []; 17 17 … … 405 405 */ 406 406 public function hide_notices() { 407 global $current_user; 408 $_villatheme_nonce = isset( $_GET['_villatheme_nonce'] ) ? sanitize_text_field( wp_unslash( $_GET['_villatheme_nonce'] ) ) : ''; 407 global $current_user; $_villatheme_nonce = isset( $_GET['_villatheme_nonce'] ) ? sanitize_text_field( wp_unslash( $_GET['_villatheme_nonce'] ) ) : ''; 408 409 409 if ( wp_verify_nonce( $_villatheme_nonce, 'villatheme_hide_toolbar' ) ) { 410 410 update_option( 'villatheme_hide_admin_toolbar', time() ); … … 959 959 } 960 960 961 $args = wp_parse_args( $args, [961 $args = apply_filters( 'villatheme_check_requires',wp_parse_args( $args, [ 962 962 'plugin_name' => '', 963 963 'php_version' => '', 964 964 'wp_version' => '', 965 'wc_ver ison' => '',965 'wc_version' => '', 966 966 'require_plugins' => [], 967 ] ) ;967 ] )); 968 968 969 969 $this->plugin_name = $args['plugin_name']; -
subre-product-subscription-for-woo/trunk/readme.txt
r2991521 r3031985 4 4 Tags: woocommerce, subscription, subscribe, sign-up, recurring, renew, expire, trial 5 5 Requires at least: 5.0.0 6 Tested up to: 6. 36 Tested up to: 6.4 7 7 Requires PHP: 7.0 8 8 Stable tag: 1.0.0 … … 153 153 154 154 1. Unzip the download package 155 1. Upload ` woo-alidropship` to the `/wp-content/plugins/` directory155 1. Upload `subre-product-subscription-for-woo` to the `/wp-content/plugins/` directory 156 156 1. Activate the plugin through the 'Plugins' menu in WordPress 157 157 … … 167 167 168 168 == Changelog == 169 170 /**1.0.4 - 2024.02.06**/ 171 – Fixed: Data type in create_renewal_order function 169 172 170 173 /**1.0.3 - 2023.11.08**/ -
subre-product-subscription-for-woo/trunk/subre-product-subscription-for-woo.php
r2991521 r3031985 4 4 * Plugin URI: https://villatheme.com/extensions/subre-woocommerce-product-subscription/ 5 5 * Description: Convert WooCommerce simple products(physical or downloadable/virtual) to subscription products and allow recurring payments 6 * Version: 1.0. 36 * Version: 1.0.4 7 7 * Author: VillaTheme(villatheme.com) 8 8 * Author URI: http://villatheme.com 9 9 * Text Domain: subre-product-subscription-for-woo 10 * Copyright 2022 VillaTheme.com. All rights reserved.10 * Copyright 2022 - 2024 VillaTheme.com. All rights reserved. 11 11 * Tested up to: 6.4 12 * WC tested up to: 8. 212 * WC tested up to: 8.5 13 13 * Requires PHP: 7.0 14 14 **/ … … 17 17 } 18 18 19 define( 'SUBRE_PRODUCT_SUBSCRIPTION_FOR_WOO_VERSION', '1.0. 3' );19 define( 'SUBRE_PRODUCT_SUBSCRIPTION_FOR_WOO_VERSION', '1.0.4' ); 20 20 define( 'SUBRE_PRODUCT_SUBSCRIPTION_FOR_WOO_DIR', plugin_dir_path( __FILE__ ) ); 21 21 define( 'SUBRE_PRODUCT_SUBSCRIPTION_FOR_WOO_INCLUDES', SUBRE_PRODUCT_SUBSCRIPTION_FOR_WOO_DIR . 'includes' . DIRECTORY_SEPARATOR );
Note: See TracChangeset
for help on using the changeset viewer.