Changeset 2012423
- Timestamp:
- 01/14/2019 11:31:20 PM (7 years ago)
- Location:
- adbutler/trunk
- Files:
-
- 3 edited
-
adbutler.php (modified) (2 diffs)
-
includes/adbutler_plugin.class (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
adbutler/trunk/adbutler.php
r2006475 r2012423 5 5 Plugin URI: https://wordpress.org/plugins/adbutler 6 6 Description: 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.2 07 Version: 1.21 8 8 Author: AdButler 9 9 Author URI: http://www.adbutler.com … … 23 23 define( 'ADBUTLER_CACHEURL', ADBUTLER_URLPATH . 'cache/' ); 24 24 define( 'ADBUTLER_ADSERVE_URL','https://adbutler.com/external_request.spark'); 25 define( 'ADBUTLER_PLUGIN_VERSION', '1.2 0');25 define( 'ADBUTLER_PLUGIN_VERSION', '1.21'); 26 26 27 27 -
adbutler/trunk/includes/adbutler_plugin.class
r2006475 r2012423 271 271 { 272 272 wp_enqueue_script( 273 'adbutler_script', ADBUTLER_URLPATH . "js/adbutler.js", array(273 'adbutler_script', plugins_url("../js/adbutler.js", __FILE__), array( 274 274 'jquery-ui-button', 275 275 'jquery', … … 278 278 ); 279 279 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); 281 281 } 282 282 … … 557 557 echo "<script type='text/javascript' src='{$protocol}{$host}/hb_app.js' async></script>"; 558 558 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); 560 560 561 561 $timeout = intval(get_option('adbutler_hb_timeout')) ?: 700; 562 562 wp_add_inline_script('adbutler_hb_init', "AdButlerHB.timeout = {$timeout};"); 563 563 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); 565 565 } 566 566 -
adbutler/trunk/readme.txt
r2006475 r2012423 68 68 69 69 == Changelog == 70 *1.21 Fixed resources not loading with https on some configurations. 70 71 *1.20 Removed AdButler key config from dashboard. The key must be configured in the admin settings. 71 72 *1.19 Bug fixes.
Note: See TracChangeset
for help on using the changeset viewer.