WordPress Ad Widget - Version 2.12.0

Version Description

Download this release

Release Info

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

Code changes from version 2.11.0 to 2.12.0

Files changed (3) hide show
  1. adwidget.php +3 -3
  2. readme.txt +2 -2
  3. views/modal/index.php +5 -1
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.11.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.11.0';
25
  CONST KEY_WELCOME = 'AdWidget_Welcome';
26
 
27
  /**
@@ -109,7 +109,7 @@ class AdWidget_Core
109
  $subject = "Welcome - Ad Widget/Broadstreet XPRESS";
110
 
111
  $body = "Thank you for choosing Wordpress AdWidget! This is a one-time email. If you have any support questions, reach out to frontdesk@broadstreetads.com.\n\n"
112
- . "You may wish to check out our extensive ad format gallery and full-service adserver: http://broadstreetads.com/ad-widget/ :)\n\n"
113
  . "It helps to approach your sales prospects with something they've never seen before. We offer personal, 15 minute demos.\n\n"
114
  . "Best of luck!\n\n"
115
  . "- Kenny Katzgrau (Broadstreet XPRESS)\n\n";
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.12.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.12.0';
25
  CONST KEY_WELCOME = 'AdWidget_Welcome';
26
 
27
  /**
109
  $subject = "Welcome - Ad Widget/Broadstreet XPRESS";
110
 
111
  $body = "Thank you for choosing Wordpress AdWidget! This is a one-time email. If you have any support questions, reach out to frontdesk@broadstreetads.com.\n\n"
112
+ . "You may wish to check out our extensive ad format gallery and full-service adserver: http://broadstreetads.com/ad-widget/\n\n"
113
  . "It helps to approach your sales prospects with something they've never seen before. We offer personal, 15 minute demos.\n\n"
114
  . "Best of luck!\n\n"
115
  . "- Kenny Katzgrau (Broadstreet XPRESS)\n\n";
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.5
6
- Stable tag: 2.11.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.7
6
+ Stable tag: 2.12.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.
views/modal/index.php CHANGED
@@ -36,7 +36,10 @@ if(!defined('WP_ADMIN'))
36
  }
37
 
38
  $page = @$_GET['step'];
39
- if(!$page) $page = 'signup';
 
 
 
40
 
41
  if($page == 'signup')
42
  {
@@ -65,5 +68,6 @@ if($page == 'signup')
65
  }
66
 
67
  Broadstreet_Adwidget_Mini_Utility::sendReport('Premium Exloration');
 
68
  require "$page.php";
69
 
36
  }
37
 
38
  $page = @$_GET['step'];
39
+
40
+ if (FALSE === array_search($page, array('signup', 'signedup', 'reports'))) {
41
+ $page = 'signup';
42
+ }
43
 
44
  if($page == 'signup')
45
  {
68
  }
69
 
70
  Broadstreet_Adwidget_Mini_Utility::sendReport('Premium Exloration');
71
+
72
  require "$page.php";
73