Changeset 3440952
- Timestamp:
- 01/16/2026 12:03:42 PM (2 months ago)
- Location:
- tourfic/trunk
- Files:
-
- 30 added
- 2 edited
-
appsero.json (added)
-
readme.txt (modified) (3 diffs)
-
tourfic.php (modified) (10 diffs)
-
vendor (added)
-
vendor/appsero (added)
-
vendor/appsero/client (added)
-
vendor/appsero/client/.editorconfig (added)
-
vendor/appsero/client/.github (added)
-
vendor/appsero/client/.github/workflows (added)
-
vendor/appsero/client/.github/workflows/wpcs.yml (added)
-
vendor/appsero/client/.gitignore (added)
-
vendor/appsero/client/.php-cs-fixer.dist.php (added)
-
vendor/appsero/client/composer.json (added)
-
vendor/appsero/client/composer.lock (added)
-
vendor/appsero/client/phpcs.xml.dist (added)
-
vendor/appsero/client/src (added)
-
vendor/appsero/client/src/Client.php (added)
-
vendor/appsero/client/src/Insights.php (added)
-
vendor/appsero/client/src/License.php (added)
-
vendor/autoload.php (added)
-
vendor/composer (added)
-
vendor/composer/ClassLoader.php (added)
-
vendor/composer/InstalledVersions.php (added)
-
vendor/composer/LICENSE (added)
-
vendor/composer/autoload_classmap.php (added)
-
vendor/composer/autoload_namespaces.php (added)
-
vendor/composer/autoload_psr4.php (added)
-
vendor/composer/autoload_real.php (added)
-
vendor/composer/autoload_static.php (added)
-
vendor/composer/installed.json (added)
-
vendor/composer/installed.php (added)
-
vendor/composer/platform_check.php (added)
Legend:
- Unmodified
- Added
- Removed
-
tourfic/trunk/readme.txt
r3440918 r3440952 4 4 Requires at least: 5.4 5 5 Tested up to: 6.9 6 Stable tag: 2.20. 16 Stable tag: 2.20.2 7 7 Requires PHP: 7.4 8 8 License: GPLv2 or later … … 413 413 == Changelog == 414 414 415 = 2.20.2 – January 16, 2026 = 416 417 - Added: Enhanced security feature. 418 415 419 = 2.20.1 – January 16, 2026 = 416 420 417 - readme.txt Updated421 - Updated: readme.txt updated 418 422 419 423 = 2.20.0 – January 16, 2026 = … … 430 434 - Tweak: Improved apartment search functionality. 431 435 - Tweak: Booking email sending functionality. 432 - Fixed: Migrator fatal error. 436 - Fixed: Migrator fatal error. 433 437 - Fixed: Tour price calculation issue. 434 438 - Fixed: Offline payment tour voucher issue. -
tourfic/trunk/tourfic.php
r3440918 r3440952 8 8 * Text Domain: tourfic 9 9 * Domain Path: /lang/ 10 * Version: 2.20. 110 * Version: 2.20.2 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. 1';30 const VERSION = '2.20.2'; 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'; 77 79 78 80 //Check if WooCommerce is active, and if it isn't, disable the plugin. … … 130 132 require_once TF_PATH . 'autoloader.php'; 131 133 134 // Initialize the appsero 135 $this->appsero_init_tracker_tourfic(); 136 132 137 if ( class_exists( "\Tourfic\Classes\Base" ) ) { 133 138 \Tourfic\Classes\Base::instance(); … … 148 153 * Include required core files used in admin and on the frontend. 149 154 */ 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 } 155 public function includes() {} 158 156 159 157 function tf_load_textdomain() { … … 176 174 <div id="message" class="error"> 177 175 <p> 178 <?php 176 <?php 179 177 /* translators: %1$s is return strong tag %2$s is return closeing of strong tag */ 180 178 printf(esc_html__( 'Tourfic requires %1$s WooCommerce %2$s to be activated.', 'tourfic' ), … … 250 248 } 251 249 } 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 } 252 268 } 253 269 … … 258 274 update_option( 'tourfic_template_installed', true ); 259 275 } 260 276 261 277 //Register activation hook 262 278 register_activation_hook( __FILE__, 'tf_active_template_settings_callback' );
Note: See TracChangeset
for help on using the changeset viewer.