Plugin Directory

Changeset 3440976


Ignore:
Timestamp:
01/16/2026 12:36:49 PM (5 weeks ago)
Author:
themefic
Message:

4.7.13 update

Location:
beaf-before-and-after-gallery/trunk
Files:
30 added
3 edited

Legend:

Unmodified
Added
Removed
  • beaf-before-and-after-gallery/trunk/before-and-after-gallery.php

    r3414603 r3440976  
    44 * Plugin URI: https://themefic.com/plugins/beaf/
    55 * Description: Would you like to show a comparison of two images? With BEAF, you can easily create before and after image sliders or galleries. Elementor Supported.
    6  * Version: 4.7.12
     6 * Version: 4.7.13
    77 * Tested up to: 6.9
    88 * Author: Themefic
     
    2323    public function __construct() {
    2424
     25        if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
     26            require_once __DIR__ . '/vendor/autoload.php';
     27        }
     28
    2529        $this->define_constants();
    2630
     
    3438    public function define_constants() {
    3539        define( 'BEAF_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
    36         define( 'BEAF_VERSION', '4.7.12' );
     40        define( 'BEAF_VERSION', '4.7.13' );
    3741        define( 'BEAF_ADMIN_PATH', BEAF_PLUGIN_PATH . 'admin/' );
    3842        define( 'BEAF_INC_PATH', BEAF_PLUGIN_PATH . 'inc/' );
     
    8690// kick-off the plugin
    8791beaf_gallery_slider();
     92
     93/**
     94 * Initialize the plugin tracker
     95 *
     96 * @return void
     97 */
     98if ( ! function_exists( 'appsero_init_tracker_beaf_before_and_after_gallery' ) ) {
     99    /*
     100     * Initialize the appsero
     101     */
     102
     103    function appsero_init_tracker_beaf_before_and_after_gallery() {
     104
     105        $client = new Appsero\Client( 'daee3b5d-d8a3-46f0-ae49-7b6f869f4b42', 'Ultimate Before After Image Slider & Gallery – BEAF', __FILE__ );
     106
     107        // Change Admin notice text
     108        $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 );
     109        $client->insights()->notice( $notice );
     110
     111
     112        // Active insights
     113        $client->insights()->init();
     114
     115    }
     116    appsero_init_tracker_beaf_before_and_after_gallery();
     117}
  • beaf-before-and-after-gallery/trunk/inc/functions.php

    r3365616 r3440976  
    444444    }
    445445}
    446 
    447 
    448 /**
    449  * Initialize the plugin tracker
    450  *
    451  * @return void
    452  */
    453 if ( ! function_exists( 'appsero_init_tracker_beaf_before_and_after_gallery' ) ) {
    454     /*
    455      * Initialize the appsero
    456      */
    457 
    458     function appsero_init_tracker_beaf_before_and_after_gallery() {
    459 
    460         if ( ! class_exists( 'Appsero\Client' ) ) {
    461             require_once( plugin_dir_path( __DIR__ ) . '/inc/app/src/Client.php' );
    462         }
    463 
    464         $client = new Appsero\Client( 'daee3b5d-d8a3-46f0-ae49-7b6f869f4b42', 'Ultimate Before After Image Slider & Gallery – BEAF', __FILE__ );
    465 
    466         // Change Admin notice text
    467 
    468         $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 );
    469         $client->insights()->notice( $notice );
    470 
    471 
    472         // Active insights
    473         $client->insights()->init();
    474 
    475     }
    476     appsero_init_tracker_beaf_before_and_after_gallery();
    477 }
    478 
    479 
    480446
    481447/**
  • beaf-before-and-after-gallery/trunk/readme.txt

    r3414603 r3440976  
    33Tags: before after, before after elementor, before after slider, before and after slider, elementor before and after slider
    44Requires at least: 4.0
    5 Stable tag: 4.7.12
     5Stable tag: 4.7.13
    66Tested up to: 6.9
    77Requires PHP: 7.4
     
    337337== Changelog ==
    338338
     339= 4.7.13 – January 16, 2025 =
     340
     341- Info: System stability has been improved.
     342
    339343= 4.7.12 – 08/12/2025 =
    340344
Note: See TracChangeset for help on using the changeset viewer.