Changeset 1241896
- Timestamp:
- 09/09/2015 08:14:15 PM (11 years ago)
- Location:
- adbutler/trunk
- Files:
-
- 4 edited
-
adbutler.php (modified) (1 diff)
-
includes/adbutler_plugin.class (modified) (2 diffs)
-
js/adbutler.js (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
adbutler/trunk/adbutler.php
r1203350 r1241896 5 5 Plugin URI: http://example.com/wordpress-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.1 07 Version: 1.11 8 8 Author: Sparklit Networks 9 9 Author URI: http://sparklit.com -
adbutler/trunk/includes/adbutler_plugin.class
r1202608 r1241896 36 36 add_action('widgets_init', array($this, 'register_widget')); 37 37 add_action('admin_enqueue_scripts', array($this, 'enqueue_admin_scripts')); 38 add_action('siteorigin_panel_enqueue_admin_scripts', array($this, 'enqueue_admin_scripts')); 38 39 add_action('wp_dashboard_setup', array($this, 'dashboard_widget_register')); 39 40 add_action('add_meta_boxes', array($this, 'abkw_targeting') ); … … 133 134 public function enqueue_admin_scripts($hook) 134 135 { 135 if (!(('widgets.php' == $hook) || ('index.php' == $hook) || preg_match('/adbutler/', $hook) || ('customize.php' == $hook))) 136 return; 136 137 137 wp_enqueue_script('adbutler_script', ADBUTLER_URLPATH . "js/adbutler.js", array('jquery-ui-button', 'jquery', 'jquery-ui-spinner'), '1.05', true); 138 138 $params = array( -
adbutler/trunk/js/adbutler.js
r895314 r1241896 16 16 } 17 17 18 if ($('.adbutler_widget').length > 1) {18 if ($('.adbutler_widget').length > 0 ||($("[id^='customize-control-widget_adbutler-']"))) { 19 19 adbutler.populate_zone_lists(); 20 20 } … … 179 179 } }; 180 180 }(jQuery)); 181 adbutler.init(adbutlerParams);181 jQuery(document).ready(adbutler.init(adbutlerParams)); 182 182 183 183 -
adbutler/trunk/readme.txt
r1202608 r1241896 4 4 Tags: Ad serving, AdButler, Ad Server,Ad Management,Ad Rotation 5 5 Requires at least: 3.3 6 Tested up to: 4. 226 Tested up to: 4.3 7 7 Stable tag: trunk 8 8 License: GPLv2 or later … … 68 68 == Changelog == 69 69 70 *1.03 Fixed some connection issues 71 *1.04 Fixed widgets on customize appearance page 72 *1.05 Added the ability to associate AdButler keywords with a given post 73 *1.06 Added Async Javascript support 74 *1.07 Added Support for shortcodes 75 *1.08 Fixed development bug 76 *1.09 Added Secure Tags and Refresh Settings 77 *1.10 Tag cleanup and secure bug fix 70 *1.03 Fixed some connection issues. 71 *1.04 Fixed widgets on customize appearance page. 72 *1.05 Added the ability to associate AdButler keywords with a given post. 73 *1.06 Added Async Javascript support. 74 *1.07 Added Support for shortcodes. 75 *1.08 Fixed development bug. 76 *1.09 Added Secure Tags and Refresh Settings. 77 *1.10 Tag cleanup and secure bug fix. 78 *1.11 Compatability with customizer. 78 79 79 80 80 81 == Upgrade notice == 81 82 82 Added the ability to refresh tag config and Secure tag type 83 Will make the widgets compatible with the customizer interface allowing for live preview of ad inventory 83 84 84 85
Note: See TracChangeset
for help on using the changeset viewer.