Advanced Ads - Version 1.6.10.1

Version Description

  • hotfix for empty id field
Download this release

Release Info

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

Code changes from version 1.6.10 to 1.6.10.1

Files changed (3) hide show
  1. advanced-ads.php +2 -2
  2. classes/ad.php +4 -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.10
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.10' );
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.10.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.10.1' );
42
 
43
  /*----------------------------------------------------------------------------*
44
  * Autoloading, modules and functions
classes/ad.php CHANGED
@@ -698,7 +698,10 @@ class Advanced_Ads_Ad {
698
  private function create_wrapper_id(){
699
 
700
  if( isset( $this->output['wrapper-id'] )){
701
- return sanitize_key( $this->output['wrapper-id'] );
 
 
 
702
  }
703
 
704
  $prefix = Advanced_Ads_Plugin::get_instance()->get_frontend_prefix();
698
  private function create_wrapper_id(){
699
 
700
  if( isset( $this->output['wrapper-id'] )){
701
+ $id = sanitize_key( $this->output['wrapper-id'] );
702
+ if( '' !== $id ){
703
+ return $id;
704
+ }
705
  }
706
 
707
  $prefix = Advanced_Ads_Plugin::get_instance()->get_frontend_prefix();
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.10
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.10 =
189
 
190
  * added image ad type
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.10.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.10.1 =
189
+
190
+ * hotfix for empty id field
191
+
192
  = 1.6.10 =
193
 
194
  * added image ad type