Plugin Directory

Changeset 1954787


Ignore:
Timestamp:
10/10/2018 09:46:53 PM (7 years ago)
Author:
jumpdemand
Message:

updated script

Location:
4ecps-webforms/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 4ecps-webforms/trunk/4ECPS.php

    r1947583 r1954787  
    44 * Plugin Name: 4ECPS Webforms
    55 * Description: This adds the 4ECPS Marketing webforms to your website.
    6  * Version: 0.1.70
     6 * Version: 0.1.71
    77 * Author: jumpdemand
    88 * Author URI: http://www.JumpDEMAND.me
     
    1313namespace ecps;
    1414
    15 define(__NAMESPACE__.'\ACTIVEDEMAND_VER', '0.1.70');
     15define(__NAMESPACE__.'\ACTIVEDEMAND_VER', '0.1.71');
    1616define(__NAMESPACE__."\PLUGIN_VENDOR", "4ECPS");
    1717define(__NAMESPACE__."\PLUGIN_VENDOR_LINK", "https://4ecps.com/");
     
    258258    register_setting(PREFIX.'_options', PREFIX.'_show_tinymce');
    259259    register_setting(PREFIX.'_options', PREFIX.'_server_side');
    260     register_setting(PREFIX.'_options', PREFIX.'_script_url');
     260    register_setting(PREFIX.'_options', PREFIX.'_v2_script_url');
    261261}
    262262
     
    264264function activedemand_enqueue_scripts()
    265265{
    266     $script_url = get_option(PREFIX.'_script_url');
     266    $script_url = get_option(PREFIX.'_v2_script_url');
    267267    if (!isset($script_url) || "" == $script_url) {
    268268        $activedemand_appkey = activedemand_api_key();
    269269        if ("" != $activedemand_appkey) {
    270270            $script_url = activedemand_getHTML("https://api.activedemand.com/v1/script_url", 10);
    271             update_option(PREFIX.'_script_url', $script_url);
     271            update_option(PREFIX.'_v2_script_url', $script_url);
    272272
    273273        }
     
    881881        return "$url' async defer";
    882882    }
    883     if (TRUE == strpos($url, 'ad_load.js'))
     883    if (TRUE == strpos($url, '/load.js'))
    884884    {
    885885        return "$url' async defer";
  • 4ecps-webforms/trunk/readme.txt

    r1947582 r1954787  
    33Tags: tracking web form, plugin
    44Requires at least: 2.8
    5 Tested up to: 4.9.6
    6 Stable tag: 0.1.70
     5Tested up to: 4.9.8
     6Stable tag: 0.1.71
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3838
    3939== Changelog ==
     40= 0.1.71 =
     41Renamed script
    4042= 0.1.70 =
    4143Updated LP code
Note: See TracChangeset for help on using the changeset viewer.