Changeset 2845671
- Timestamp:
- 01/09/2023 05:52:36 PM (3 years ago)
- Location:
- adspeed-ad-server/trunk
- Files:
-
- 2 edited
-
AdSpeed.wp.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
adspeed-ad-server/trunk/AdSpeed.wp.php
r2845658 r2845671 4 4 Plugin URI: https://www.AdSpeed.com/Knowledges/1030/Serving_Code/AdSpeed_Plugin_WordPress.html 5 5 Description: Displays advertising from your AdSpeed account on the sidebar or within a post. Ads are served, managed and tracked for impressions and clicks by AdSpeed Ad Server. You setup and manage ads inside your AdSpeed account. 6 Version: 1.3 6 Version: 1.3.1 7 7 Author: AdSpeed.com 8 8 Author URI: https://www.AdSpeed.com … … 23 23 <input type="text" id="'.$this->get_field_id('AdSpeed_CustomParams').'" name="'.$this->get_field_name('AdSpeed_CustomParams').'" value="'.$instance['AdSpeed_CustomParams'].'" /> (optional) 24 24 25 '; echo($vOutput); } private function _init_plugin_constants() { if(!defined('PLUGIN_LOCALE')) { define('PLUGIN_LOCALE','adspeed-ad-server-locale'); } if(!defined('PLUGIN_NAME')) { define('PLUGIN_NAME','AdSpeed Ad Server'); } if(!defined('PLUGIN_SLUG')) { define('PLUGIN_SLUG','AdSpeed-Ad-Server'); } } private function _register_scripts_and_styles() { } private function _load_file($name, $file_path, $is_script = false) { $url = WP_PLUGIN_URL . $file_path; $file = WP_PLUGIN_DIR . $file_path; if (file_exists($file)) { if($is_script) { wp_register_script($name, $url); wp_enqueue_script($name); } else { wp_register_style($name, $url); wp_enqueue_style($name); } } } } add_action('widgets_init', create_function('', 'register_widget("AdSpeed_Ad_Server");'));?>25 '; echo($vOutput); } private function _init_plugin_constants() { if(!defined('PLUGIN_LOCALE')) { define('PLUGIN_LOCALE','adspeed-ad-server-locale'); } if(!defined('PLUGIN_NAME')) { define('PLUGIN_NAME','AdSpeed Ad Server'); } if(!defined('PLUGIN_SLUG')) { define('PLUGIN_SLUG','AdSpeed-Ad-Server'); } } private function _register_scripts_and_styles() { } private function _load_file($name, $file_path, $is_script = false) { $url = WP_PLUGIN_URL . $file_path; $file = WP_PLUGIN_DIR . $file_path; if (file_exists($file)) { if($is_script) { wp_register_script($name, $url); wp_enqueue_script($name); } else { wp_register_style($name, $url); wp_enqueue_style($name); } } } } add_action('widgets_init','AdSpeed_register_widget'); function AdSpeed_register_widget() { register_widget('AdSpeed_Ad_Server'); } ?> -
adspeed-ad-server/trunk/readme.txt
r2845658 r2845671 75 75 = 1.2.13 = 76 76 * Compatible with 5.8 (2021-12-01) 77 = 1.3 =77 = 1.3.1 = 78 78 * Compatible with 6.1 (2023-01-09) 79 79
Note: See TracChangeset
for help on using the changeset viewer.