WordPress Ad Widget - Version 2.10.0

Version Description

Download this release

Release Info

Developer broadstreetads
Plugin Icon wp plugin WordPress Ad Widget
Version 2.10.0
Comparing to
See all releases

Code changes from version 2.9.0 to 2.10.0

Files changed (2) hide show
  1. adwidget.php +5 -5
  2. readme.txt +2 -2
adwidget.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Wordpress Ad Widget
4
Plugin URI: https://github.com/broadstreetads/wordpress-ad-widget
5
Description: The easiest way to place ads in your Wordpress sidebar. Go to Settings -> Ad Widget
6
- Version: 2.9.0
7
Author: Broadstreet Ads
8
Author URI: http://broadstreetads.com
9
*/
@@ -21,7 +21,7 @@ add_action('admin_footer', array('AdWidget_Core', 'footerScripts'));
21
class AdWidget_Core
22
{
23
CONST KEY_INSTALL_REPORT = 'AdWidget_Installed';
24
- CONST VERSION = '2.9.0';
25
CONST KEY_WELCOME = 'AdWidget_Welcome';
26
27
/**
@@ -221,10 +221,10 @@ class AdWidget_HTMLWidget extends WP_Widget
221
/**
222
* Set the widget options
223
*/
224
- function AdWidget_HTMLWidget()
225
{
226
$widget_ops = array('classname' => 'AdWidget_HTMLWidget', 'description' => 'Place an ad code like Google ads or other ad provider');
227
- $this->WP_Widget('AdWidget_HTMLWidget', 'Ad: HTML/Javascript Ad', $widget_ops);
228
}
229
230
/**
@@ -321,7 +321,7 @@ class AdWidget_ImageWidget extends WP_Widget
321
function AdWidget_ImageWidget()
322
{
323
$widget_ops = array('classname' => 'AdWidget_ImageWidget', 'description' => 'Place an image ad with a link');
324
- $this->WP_Widget('AdWidget_ImageWidget', 'Ad: Image/Banner Ad', $widget_ops);
325
}
326
327
/**
3
Plugin Name: Wordpress Ad Widget
4
Plugin URI: https://github.com/broadstreetads/wordpress-ad-widget
5
Description: The easiest way to place ads in your Wordpress sidebar. Go to Settings -> Ad Widget
6
+ Version: 2.10.0
7
Author: Broadstreet Ads
8
Author URI: http://broadstreetads.com
9
*/
21
class AdWidget_Core
22
{
23
CONST KEY_INSTALL_REPORT = 'AdWidget_Installed';
24
+ CONST VERSION = '2.10.0';
25
CONST KEY_WELCOME = 'AdWidget_Welcome';
26
27
/**
221
/**
222
* Set the widget options
223
*/
224
+ function __construct()
225
{
226
$widget_ops = array('classname' => 'AdWidget_HTMLWidget', 'description' => 'Place an ad code like Google ads or other ad provider');
227
+ parent::__construct('AdWidget_HTMLWidget', 'Ad: HTML/Javascript Ad', $widget_ops);
228
}
229
230
/**
321
function AdWidget_ImageWidget()
322
{
323
$widget_ops = array('classname' => 'AdWidget_ImageWidget', 'description' => 'Place an image ad with a link');
324
+ parent::__construct('AdWidget_ImageWidget', 'Ad: Image/Banner Ad', $widget_ops);
325
}
326
327
/**
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
Contributors: Broadstreet
3
Tags: wordpress,ad,widget,sidebar,google,tag,code
4
Requires at least: 3.0
5
- Tested up to: 4.4
6
- Stable tag: 2.9.0
7
8
Easily upload ad images and ad code to your sidebar. For those that don't need or
9
want a complicated ad management system.
2
Contributors: Broadstreet
3
Tags: wordpress,ad,widget,sidebar,google,tag,code
4
Requires at least: 3.0
5
+ Tested up to: 4.5
6
+ Stable tag: 2.10.0
7
8
Easily upload ad images and ad code to your sidebar. For those that don't need or
9
want a complicated ad management system.