Plugin Directory

Changeset 2012423


Ignore:
Timestamp:
01/14/2019 11:31:20 PM (7 years ago)
Author:
sparklit
Message:

Fixed resources not loading with https on some configurations.

Location:
adbutler/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • adbutler/trunk/adbutler.php

    r2006475 r2012423  
    55Plugin URI: https://wordpress.org/plugins/adbutler
    66Description: AdButler ad management system integration plugin. Simplify deployment of your ad zones with this highly effective manner of deploying your publishing needs
    7 Version: 1.20
     7Version: 1.21
    88Author: AdButler
    99Author URI: http://www.adbutler.com
     
    2323define( 'ADBUTLER_CACHEURL', ADBUTLER_URLPATH . 'cache/' );
    2424define( 'ADBUTLER_ADSERVE_URL','https://adbutler.com/external_request.spark');
    25 define( 'ADBUTLER_PLUGIN_VERSION', '1.20');
     25define( 'ADBUTLER_PLUGIN_VERSION', '1.21');
    2626
    2727
  • adbutler/trunk/includes/adbutler_plugin.class

    r2006475 r2012423  
    271271    {
    272272        wp_enqueue_script(
    273             'adbutler_script', ADBUTLER_URLPATH . "js/adbutler.js", array(
     273            'adbutler_script', plugins_url("../js/adbutler.js", __FILE__), array(
    274274                'jquery-ui-button',
    275275                'jquery',
     
    278278        );
    279279
    280         wp_enqueue_style('adbutler_css', ADBUTLER_URLPATH . 'css/adbutler.css', [], ADBUTLER_PLUGIN_VERSION);
     280        wp_enqueue_style('adbutler_css', plugins_url('../css/adbutler.css', __FILE__), [], ADBUTLER_PLUGIN_VERSION);
    281281    }
    282282
     
    557557        echo "<script type='text/javascript' src='{$protocol}{$host}/hb_app.js' async></script>";
    558558
    559         wp_enqueue_script('adbutler_hb_init', ADBUTLER_URLPATH . 'js/adbutler_hb_init.js', [], ADBUTLER_PLUGIN_VERSION);
     559        wp_enqueue_script('adbutler_hb_init', plugins_url('../js/adbutler_hb_init.js', __FILE__), [], ADBUTLER_PLUGIN_VERSION);
    560560
    561561        $timeout = intval(get_option('adbutler_hb_timeout')) ?: 700;
    562562        wp_add_inline_script('adbutler_hb_init', "AdButlerHB.timeout = {$timeout};");
    563563
    564         wp_enqueue_script('adbutler_hb_final', ADBUTLER_URLPATH . 'js/adbutler_hb_final.js', ['adbutler_hb_init'], ADBUTLER_PLUGIN_VERSION);
     564        wp_enqueue_script('adbutler_hb_final', plugins_url('../js/adbutler_hb_final.js', __FILE__), ['adbutler_hb_init'], ADBUTLER_PLUGIN_VERSION);
    565565    }
    566566
  • adbutler/trunk/readme.txt

    r2006475 r2012423  
    6868
    6969== Changelog ==
     70*1.21 Fixed resources not loading with https on some configurations.
    7071*1.20 Removed AdButler key config from dashboard. The key must be configured in the admin settings.
    7172*1.19 Bug fixes.
Note: See TracChangeset for help on using the changeset viewer.