Advanced Ads - Version 1.6.11.1

Version Description

  • hotfix for widgets
Download this release

Release Info

Developer webzunft
Plugin Icon 128x128 Advanced Ads
Version 1.6.11.1
Comparing to
See all releases

Code changes from version 1.6.11 to 1.6.11.1

Files changed (3) hide show
  1. advanced-ads.php +2 -2
  2. classes/widget.php +1 -1
  3. readme.txt +5 -1
advanced-ads.php CHANGED
@@ -12,7 +12,7 @@
12
  * Plugin Name: Advanced Ads
13
  * Plugin URI: https://wpadvancedads.com
14
  * Description: Manage and optimize your ads in WordPress
15
- * Version: 1.6.11
16
  * Author: Thomas Maier
17
  * Author URI: http://webgilde.com
18
  * Text Domain: advanced-ads
@@ -38,7 +38,7 @@ define( 'ADVADS_BASE_DIR', dirname( plugin_basename( __FILE__ ) ) ); // director
38
  // general and global slug, e.g. to store options in WP, textdomain
39
  define( 'ADVADS_SLUG', 'advanced-ads' );
40
  define( 'ADVADS_URL', 'https://wpadvancedads.com/' );
41
- define( 'ADVADS_VERSION', '1.6.11' );
42
 
43
  /*----------------------------------------------------------------------------*
44
  * Autoloading, modules and functions
12
  * Plugin Name: Advanced Ads
13
  * Plugin URI: https://wpadvancedads.com
14
  * Description: Manage and optimize your ads in WordPress
15
+ * Version: 1.6.11.1
16
  * Author: Thomas Maier
17
  * Author URI: http://webgilde.com
18
  * Text Domain: advanced-ads
38
  // general and global slug, e.g. to store options in WP, textdomain
39
  define( 'ADVADS_SLUG', 'advanced-ads' );
40
  define( 'ADVADS_URL', 'https://wpadvancedads.com/' );
41
+ define( 'ADVADS_VERSION', '1.6.11.1' );
42
 
43
  /*----------------------------------------------------------------------------*
44
  * Autoloading, modules and functions
classes/widget.php CHANGED
@@ -162,7 +162,7 @@ class Advanced_Ads_Widget extends WP_Widget {
162
  if ( $item[0] == 'ad' ){
163
  return get_ad( absint( $item_id ) );
164
  } elseif ( $item[0] == 'group' ){
165
- return get_ad_group( abs_int( $item_id ) );
166
  } elseif ( $item[0] == 'placement' ){
167
  return get_ad_placement( $item_id );
168
  }
162
  if ( $item[0] == 'ad' ){
163
  return get_ad( absint( $item_id ) );
164
  } elseif ( $item[0] == 'group' ){
165
+ return get_ad_group( absint( $item_id ) );
166
  } elseif ( $item[0] == 'placement' ){
167
  return get_ad_placement( $item_id );
168
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id
4
  Tags: ads, ad, adsense, display, banner, advertisements, adverts, advert, monetization
5
  Requires at least: WP 4.2, PHP 5.3
6
  Tested up to: 4.3.1
7
- Stable tag: 1.6.11
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -185,6 +185,10 @@ There is no revenue share. Advanced Ads doesn’t alter your ad codes in a way t
185
 
186
  == Changelog ==
187
 
 
 
 
 
188
  = 1.6.11 =
189
 
190
  * added icon to rich media editor to quickly add shortcodes
4
  Tags: ads, ad, adsense, display, banner, advertisements, adverts, advert, monetization
5
  Requires at least: WP 4.2, PHP 5.3
6
  Tested up to: 4.3.1
7
+ Stable tag: 1.6.11.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
185
 
186
  == Changelog ==
187
 
188
+ = 1.6.11.1 =
189
+
190
+ * hotfix for widgets
191
+
192
  = 1.6.11 =
193
 
194
  * added icon to rich media editor to quickly add shortcodes