WordPress Ad Widget - Version 2.8.3

Version Description

Download this release

Release Info

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

Code changes from version 2.8.2 to 2.8.3

Files changed (3) hide show
  1. adwidget.php +2 -2
  2. readme.txt +1 -1
  3. views/modal/reports.php +4 -4
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.8.2
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.8.2';
25
CONST KEY_WELCOME = 'AdWidget_Welcome';
26
27
/**
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.8.3
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.8.3';
25
CONST KEY_WELCOME = 'AdWidget_Welcome';
26
27
/**
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Broadstreet
3
Tags: wordpress,ad,widget,sidebar,google,tag,code
4
Requires at least: 3.0
5
Tested up to: 4.2
6
- Stable tag: 2.8.2
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.
3
Tags: wordpress,ad,widget,sidebar,google,tag,code
4
Requires at least: 3.0
5
Tested up to: 4.2
6
+ Stable tag: 2.8.3
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.
views/modal/reports.php CHANGED
@@ -1,11 +1,11 @@
1
<?php
2
3
- $ad_id = $_GET['ad_id'];
4
- $adv_id = $_GET['adv_id'];
5
$net_id = Broadstreet_Adwidget_Mini_Utility::getNetworkID();
6
7
- $start = @$_GET['start'];
8
- $end = @$_GET['end'];
9
10
$day = 60 * 60 * 24 * 31;
11
1
<?php
2
3
+ $ad_id = sanitize_text_field($_GET['ad_id']);
4
+ $adv_id = sanitize_text_field($_GET['adv_id']);
5
$net_id = Broadstreet_Adwidget_Mini_Utility::getNetworkID();
6
7
+ $start = sanitize_text_field(@$_GET['start']);
8
+ $end = sanitize_text_field(@$_GET['end']);
9
10
$day = 60 * 60 * 24 * 31;
11