Changeset 3440918
- Timestamp:
- 01/16/2026 10:56:30 AM (2 months ago)
- Location:
- tourfic/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (3 diffs)
-
tourfic.php (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tourfic/trunk/readme.txt
r3440914 r3440918 4 4 Requires at least: 5.4 5 5 Tested up to: 6.9 6 Stable tag: 2.20. 06 Stable tag: 2.20.1 7 7 Requires PHP: 7.4 8 8 License: GPLv2 or later … … 413 413 == Changelog == 414 414 415 = 2.20.1 – January 16, 2026 = 416 417 - readme.txt Updated 418 415 419 = 2.20.0 – January 16, 2026 = 416 420 … … 426 430 - Tweak: Improved apartment search functionality. 427 431 - Tweak: Booking email sending functionality. 428 - Fixed: Migrator fatal error. 432 - Fixed: Migrator fatal error. 429 433 - Fixed: Tour price calculation issue. 430 434 - Fixed: Offline payment tour voucher issue. -
tourfic/trunk/tourfic.php
r3440914 r3440918 8 8 * Text Domain: tourfic 9 9 * Domain Path: /lang/ 10 * Version: 2.20. 010 * Version: 2.20.1 11 11 * Tested up to: 6.9 12 12 * WC tested up to: 10.4 13 * Requires PHP: 7.4 13 * Requires PHP: 7.4 14 14 * Elementor tested up to: 3.33 15 15 * License: GPLv2 or later … … 28 28 */ 29 29 30 const VERSION = '2.20. 0';30 const VERSION = '2.20.1'; 31 31 32 32 /** … … 53 53 54 54 /** 55 * Main Tourfic Instance. 55 * Main Tourfic Instance. 56 56 * 57 57 * Ensures only one instance of Tourfic is loaded or can be loaded. … … 68 68 return self::$_instance; 69 69 } 70 70 71 71 /** 72 72 * Tourfic Constructor. … … 75 75 include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); 76 76 $this->define_constants(); 77 78 require __DIR__ . '/vendor/autoload.php';79 77 80 78 //Check if WooCommerce is active, and if it isn't, disable the plugin. … … 132 130 require_once TF_PATH . 'autoloader.php'; 133 131 134 // Initialize the appsero135 $this->appsero_init_tracker_tourfic();136 137 132 if ( class_exists( "\Tourfic\Classes\Base" ) ) { 138 133 \Tourfic\Classes\Base::instance(); … … 153 148 * Include required core files used in admin and on the frontend. 154 149 */ 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 } 156 158 157 159 function tf_load_textdomain() { … … 174 176 <div id="message" class="error"> 175 177 <p> 176 <?php 178 <?php 177 179 /* translators: %1$s is return strong tag %2$s is return closeing of strong tag */ 178 180 printf(esc_html__( 'Tourfic requires %1$s WooCommerce %2$s to be activated.', 'tourfic' ), … … 248 250 } 249 251 } 250 251 /**252 * Initialize the plugin tracker253 *254 * @return void255 */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 text261 $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 insights265 $client->insights()->init();266 267 }268 252 } 269 253 … … 274 258 update_option( 'tourfic_template_installed', true ); 275 259 } 276 260 277 261 //Register activation hook 278 262 register_activation_hook( __FILE__, 'tf_active_template_settings_callback' );
Note: See TracChangeset
for help on using the changeset viewer.