Plugin Directory

Changeset 3440966


Ignore:
Timestamp:
01/16/2026 12:26:42 PM (2 months ago)
Author:
themefic
Message:

1.3.3 main

Location:
travelfic-toolkit/trunk
Files:
30 added
2 edited

Legend:

Unmodified
Added
Removed
  • travelfic-toolkit/trunk/readme.txt

    r3433504 r3440966  
    44Requires at least: 5.4
    55Tested up to: 6.9
    6 Stable tag: 1.3.2
     6Stable tag: 1.3.3
    77Requires PHP: 7.4
    88License: GPLv2 or later
     
    149149== Changelog ==
    150150
     151= 1.3.3 – January 16, 2025 =
     152
     153- Info: System stability has been improved.
     154
    151155= 1.3.2 – January 06, 2025 =
    152156
  • travelfic-toolkit/trunk/travelfic-toolkit.php

    r3433504 r3440966  
    55 * Description: A companion plugin to the Travelfic Theme with which you can easily build your own Hotel, Accommodation, Tour & Travel Booking website on WordPress.
    66 * Author: Themefic
    7  * Version: 1.3.2
     7 * Version: 1.3.3
    88 * Tested up to: 6.9
    99 * Text Domain: travelfic-toolkit
     
    2525define( 'TRAVELFIC_TOOLKIT_PATH', plugin_dir_path( __FILE__ ) );
    2626define( 'TRAVELFIC_TOOLKIT_ASSETS', TRAVELFIC_TOOLKIT_URL . 'assets/' );
    27 define( 'TRAVELFIC_TOOLKIT_VERSION', '1.3.2' );
     27define( 'TRAVELFIC_TOOLKIT_VERSION', '1.3.3' );
     28
     29if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
     30    require_once __DIR__ . '/vendor/autoload.php';
     31}
    2832
    2933/**
     
    7175function travelfic_toolkit_plugin_loaded_action() {
    7276    load_plugin_textdomain( 'travelfic-toolkit', false, dirname( plugin_basename( __FILE__ ) ) . '/lang/' );
     77
     78    appsero_init_tracker_travelfic_toolkit();
    7379}
    7480
     
    247253}
    248254
     255
     256/**
     257 * Initialize the plugin tracker
     258 *
     259 * @return void
     260 */
     261function appsero_init_tracker_travelfic_toolkit() {
     262
     263    $client = new Appsero\Client( '7929498b-c2c3-47f9-b8db-ad56e0090a98', 'Travelfic Toolkit', __FILE__ );
     264
     265    // Change Admin notice text
     266    $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 );
     267    $client->insights()->notice( $notice );
     268   
     269    // Active insights
     270    $client->insights()->init();
     271
     272}
     273
     274
    249275/**
    250276 *    Admin See Template Action
Note: See TracChangeset for help on using the changeset viewer.