Plugin Directory

Changeset 2745809


Ignore:
Timestamp:
06/21/2022 11:09:56 AM (4 years ago)
Author:
vinema
Message:

divi campatibility

Location:
vine-ma/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • vine-ma/trunk/readme.txt

    r2742275 r2745809  
    2121
    2222== Changelog ==
     23
     24= 1.1.5 =
     25* Fixed compatibility issue with DIVI editor
    2326
    2427= 1.1.4 =
  • vine-ma/trunk/vine_ma_plugin.php

    r2742250 r2745809  
    33/**
    44 * Plugin Name: Vine MA - Email Marketing, Forms, Interactive Bot Forms, Chatbot, Analytics
    5  * Version: 1.1.4
     5 * Version: 1.1.5
    66 * Description: Vine is a Marketing automation tool to generate more leads from your web site. Vine includes web forms, interactive bot forms, landing pages, AI chatbot, visitor tracking, and other functionality to help you to make your site more interesting and to know better what your visitors do there.
    77 * Author: Vine Oy
     
    8888//add 'Vine' script to WP pages by using organization id settings
    8989function vine_ma_wpes_hook_add_script() {
     90    if ( is_user_logged_in() && isset($_GET['et_fb']) && isset($_GET['PageSpeed'])) return;
    9091    $orgid = vine_ma_get_option('organization_id');
    9192    $src = VINEHOST."/track/t.js?sg={$orgid}";
     
    9798}
    9899function vine_track_scripts_attributes( $tag, $handle ) {
     100    if ( is_user_logged_in() && isset($_GET['et_fb']) && isset($_GET['PageSpeed'])) return $tag;
    99101    if ( wp_scripts()->get_data( $handle, 'main-track-script' ) ) {
    100102        $tag = str_replace( '></', ' data-cookieconsent="ignore"></', $tag );
Note: See TracChangeset for help on using the changeset viewer.