Plugin Directory

Changeset 2845671


Ignore:
Timestamp:
01/09/2023 05:52:36 PM (3 years ago)
Author:
AdSpeed
Message:

fix bug php8

Location:
adspeed-ad-server/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • adspeed-ad-server/trunk/AdSpeed.wp.php

    r2845658 r2845671  
    44Plugin URI: https://www.AdSpeed.com/Knowledges/1030/Serving_Code/AdSpeed_Plugin_WordPress.html
    55Description: 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
     6Version: 1.3.1
    77Author: AdSpeed.com
    88Author URI: https://www.AdSpeed.com
     
    2323            <input type="text" id="'.$this->get_field_id('AdSpeed_CustomParams').'" name="'.$this->get_field_name('AdSpeed_CustomParams').'" value="'.$instance['AdSpeed_CustomParams'].'" /> (optional)
    2424
    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  
    7575= 1.2.13 =
    7676* Compatible with 5.8 (2021-12-01)
    77 = 1.3 =
     77= 1.3.1 =
    7878* Compatible with 6.1 (2023-01-09)
    7979
Note: See TracChangeset for help on using the changeset viewer.