Plugin Directory

Changeset 3031985


Ignore:
Timestamp:
02/06/2024 07:14:14 AM (2 years ago)
Author:
thanhtd
Message:

Update

Location:
subre-product-subscription-for-woo/trunk
Files:
6 edited

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
    14/**1.0.3 - 2023.11.08**/
    25– Updated: Compatible with WordPress 6.4
  • subre-product-subscription-for-woo/trunk/includes/subscription-order.php

    r2984097 r3031985  
    327327        $current_renewal_order    = $subscription->get_meta( '_subre_subscription_current_renewal_order', true );
    328328
    329         $expired_interval = time() - $sub_expire;
     329        $expired_interval = time() - intval( $sub_expire );
    330330
    331331        if ( $current_renewal_order && ! wc_get_order( $current_renewal_order ) ) {
  • subre-product-subscription-for-woo/trunk/includes/subscription-schedule.php

    r2984097 r3031985  
    9595            );
    9696
    97             $the_query   = new WP_Query( $args );
     97            $the_query = new WP_Query( $args );
    9898            self::log( 'On-hold more than ' . $past_due_by . ' day: ' . var_export( $the_query->posts, true ) );
    9999
  • subre-product-subscription-for-woo/trunk/includes/support.php

    r2984097 r3031985  
    88    /**
    99     * Class VillaTheme_Support
    10      * 1.1.8
     10     * 1.1.9
    1111     */
    1212    class VillaTheme_Support {
    1313        protected $plugin_base_name;
    1414        protected $ads_data;
    15         protected $version = '1.1.8';
     15        protected $version = '1.1.9';
    1616        protected $data = [];
    1717
     
    405405         */
    406406        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
    409409            if ( wp_verify_nonce( $_villatheme_nonce, 'villatheme_hide_toolbar' ) ) {
    410410                update_option( 'villatheme_hide_admin_toolbar', time() );
     
    959959            }
    960960
    961             $args = wp_parse_args( $args, [
     961            $args = apply_filters( 'villatheme_check_requires',wp_parse_args( $args, [
    962962                'plugin_name'     => '',
    963963                'php_version'     => '',
    964964                'wp_version'      => '',
    965                 'wc_verison'      => '',
     965                'wc_version'      => '',
    966966                'require_plugins' => [],
    967             ] );
     967            ] ));
    968968
    969969            $this->plugin_name = $args['plugin_name'];
  • subre-product-subscription-for-woo/trunk/readme.txt

    r2991521 r3031985  
    44Tags: woocommerce, subscription, subscribe, sign-up, recurring, renew, expire, trial
    55Requires at least: 5.0.0
    6 Tested up to: 6.3
     6Tested up to: 6.4
    77Requires PHP: 7.0
    88Stable tag: 1.0.0
     
    153153
    1541541. Unzip the download package
    155 1. Upload `woo-alidropship` to the `/wp-content/plugins/` directory
     1551. Upload `subre-product-subscription-for-woo` to the `/wp-content/plugins/` directory
    1561561. Activate the plugin through the 'Plugins' menu in WordPress
    157157
     
    167167
    168168== Changelog ==
     169
     170/**1.0.4 - 2024.02.06**/
     171– Fixed: Data type in create_renewal_order function
    169172
    170173/**1.0.3 - 2023.11.08**/
  • subre-product-subscription-for-woo/trunk/subre-product-subscription-for-woo.php

    r2991521 r3031985  
    44 * Plugin URI: https://villatheme.com/extensions/subre-woocommerce-product-subscription/
    55 * Description: Convert WooCommerce simple products(physical or downloadable/virtual) to subscription products and allow recurring payments
    6  * Version: 1.0.3
     6 * Version: 1.0.4
    77 * Author: VillaTheme(villatheme.com)
    88 * Author URI: http://villatheme.com
    99 * Text Domain: subre-product-subscription-for-woo
    10  * Copyright 2022 VillaTheme.com. All rights reserved.
     10 * Copyright 2022 - 2024 VillaTheme.com. All rights reserved.
    1111 * Tested up to: 6.4
    12  * WC tested up to: 8.2
     12 * WC tested up to: 8.5
    1313 * Requires PHP: 7.0
    1414 **/
     
    1717}
    1818
    19 define( 'SUBRE_PRODUCT_SUBSCRIPTION_FOR_WOO_VERSION', '1.0.3' );
     19define( 'SUBRE_PRODUCT_SUBSCRIPTION_FOR_WOO_VERSION', '1.0.4' );
    2020define( 'SUBRE_PRODUCT_SUBSCRIPTION_FOR_WOO_DIR', plugin_dir_path( __FILE__ ) );
    2121define( '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.