Advanced Ads - Version 1.3.13

Version Description

  • fixed ad wrapper options disappearing for placements
Download this release

Release Info

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

Code changes from version 1.3.12 to 1.3.13

Files changed (3) hide show
  1. advanced-ads.php +1 -1
  2. classes/ad.php +1 -1
  3. readme.txt +5 -1
advanced-ads.php CHANGED
@@ -12,7 +12,7 @@
12
  * Plugin Name: Advanced Ads
13
  * Plugin URI: http://wpadvancedads.com
14
  * Description: Manage and optimize your ads in WordPress
15
- * Version: 1.3.12
16
  * Author: Thomas Maier
17
  * Author URI: http://webgilde.com
18
  * Text Domain: advanced-ads
12
  * Plugin Name: Advanced Ads
13
  * Plugin URI: http://wpadvancedads.com
14
  * Description: Manage and optimize your ads in WordPress
15
+ * Version: 1.3.13
16
  * Author: Thomas Maier
17
  * Author URI: http://webgilde.com
18
  * Text Domain: advanced-ads
classes/ad.php CHANGED
@@ -181,7 +181,7 @@ class Advads_Ad {
181
  // get_post_meta() may return false
182
  $meta = get_post_meta($this->id, self::$options_meta_field, true);
183
  if($meta){
184
- $this->options = $this->options + $meta;
185
  }
186
  }
187
 
181
  // get_post_meta() may return false
182
  $meta = get_post_meta($this->id, self::$options_meta_field, true);
183
  if($meta){
184
+ $this->options = array_merge_recursive($this->options, $meta);
185
  }
186
  }
187
 
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 3.5, PHP 5.3
6
  Tested up to: 4.1.
7
- Stable tag: 1.3.12
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -154,6 +154,10 @@ There is no revenue share. Advanced Ads doesn’t alter your ad codes in a way t
154
 
155
  == Changelog ==
156
 
 
 
 
 
157
  = 1.3.12 =
158
 
159
  * limited number of terms on ad edit screen to 200, introduced _advanced-ads-admin-max-terms_ filter
4
  Tags: ads, ad, adsense, display, banner, advertisements, adverts, advert, monetization
5
  Requires at least: WP 3.5, PHP 5.3
6
  Tested up to: 4.1.
7
+ Stable tag: 1.3.13
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
154
 
155
  == Changelog ==
156
 
157
+ = 1.3.13 =
158
+
159
+ * fixed ad wrapper options disappearing for placements
160
+
161
  = 1.3.12 =
162
 
163
  * limited number of terms on ad edit screen to 200, introduced _advanced-ads-admin-max-terms_ filter