Plugin Directory

Changeset 3440918


Ignore:
Timestamp:
01/16/2026 10:56:30 AM (2 months ago)
Author:
themefic
Message:

2.20.1

Location:
tourfic/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tourfic/trunk/readme.txt

    r3440914 r3440918  
    44Requires at least: 5.4
    55Tested up to: 6.9
    6 Stable tag: 2.20.0
     6Stable tag: 2.20.1
    77Requires PHP: 7.4
    88License: GPLv2 or later
     
    413413== Changelog ==
    414414
     415= 2.20.1 – January 16, 2026 =
     416
     417- readme.txt Updated
     418
    415419= 2.20.0 – January 16, 2026 =
    416420
     
    426430- Tweak: Improved apartment search functionality.
    427431- Tweak: Booking email sending functionality.
    428 - Fixed: Migrator fatal error. 
     432- Fixed: Migrator fatal error.
    429433- Fixed: Tour price calculation issue.
    430434- Fixed: Offline payment tour voucher issue.
  • tourfic/trunk/tourfic.php

    r3440914 r3440918  
    88 * Text Domain:     tourfic
    99 * Domain Path:     /lang/
    10  * Version:         2.20.0
     10 * Version:         2.20.1
    1111 * Tested up to:    6.9
    1212 * WC tested up to: 10.4
    13  * Requires PHP:    7.4 
     13 * Requires PHP:    7.4
    1414 * Elementor tested up to: 3.33
    1515 * License: GPLv2 or later
     
    2828     */
    2929
    30     const VERSION = '2.20.0';
     30    const VERSION = '2.20.1';
    3131
    3232    /**
     
    5353
    5454    /**
    55      * Main Tourfic Instance. 
     55     * Main Tourfic Instance.
    5656     *
    5757     * Ensures only one instance of Tourfic is loaded or can be loaded.
     
    6868        return self::$_instance;
    6969    }
    70    
     70
    7171    /**
    7272     * Tourfic Constructor.
     
    7575        include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    7676        $this->define_constants();
    77 
    78         require __DIR__ . '/vendor/autoload.php';
    7977
    8078        //Check if WooCommerce is active, and if it isn't, disable the plugin.
     
    132130        require_once TF_PATH . 'autoloader.php';
    133131
    134         // Initialize the appsero
    135         $this->appsero_init_tracker_tourfic();
    136 
    137132        if ( class_exists( "\Tourfic\Classes\Base" ) ) {
    138133            \Tourfic\Classes\Base::instance();
     
    153148     * Include required core files used in admin and on the frontend.
    154149     */
    155     public function includes() {}
     150    public function includes() {
     151        // Classes
     152//       if ( file_exists( TF_INC_PATH . 'classes.php' ) ) {
     153//          require_once TF_INC_PATH . 'classes.php';
     154//       } else {
     155//          tf_file_missing( TF_INC_PATH . 'classes.php' );
     156//       }
     157    }
    156158
    157159    function tf_load_textdomain() {
     
    174176                <div id="message" class="error">
    175177                    <p>
    176                         <?php 
     178                        <?php
    177179                        /* translators: %1$s is return strong tag %2$s is return closeing of strong tag */
    178180                        printf(esc_html__( 'Tourfic requires %1$s WooCommerce %2$s to be activated.', 'tourfic' ),
     
    248250        }
    249251    }
    250 
    251     /**
    252      * Initialize the plugin tracker
    253      *
    254      * @return void
    255      */
    256     public function appsero_init_tracker_tourfic() {
    257 
    258         $client = new Appsero\Client( '19134f1b-2838-4a45-ac05-772b7dfc9850', 'Travel and Hotel Booking Solution for WooCommerce - Tourfic', __FILE__ );
    259 
    260         // Change Admin notice text
    261         $notice = sprintf( $client->__trans( 'Want to help make <strong>%1$s</strong> even more awesome? Allow %1$s to collect non-sensitive diagnostic data and usage information. I agree to get Important Product Updates & Discount related information on my email from  %1$s (I can unsubscribe anytime).' ), $client->name );
    262         $client->insights()->notice( $notice );
    263 
    264         // Active insights
    265         $client->insights()->init();
    266 
    267     }
    268252}
    269253
     
    274258    update_option( 'tourfic_template_installed', true );
    275259}
    276  
     260
    277261//Register activation hook
    278262register_activation_hook( __FILE__, 'tf_active_template_settings_callback' );
Note: See TracChangeset for help on using the changeset viewer.