Advanced Ads - Version 1.3.4

Version Description

  • hotfix: display ads for placements when no ad group exists
Download this release

Release Info

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

Code changes from version 1.3.3 to 1.3.4

Files changed (3) hide show
  1. admin/views/placements.php +3 -3
  2. advanced-ads.php +1 -1
  3. readme.txt +5 -1
admin/views/placements.php CHANGED
@@ -86,14 +86,14 @@
86
  <option value="<?php echo $_item_id; ?>" <?php if (isset($_placement['item'])) selected($_item_id, $_placement['item']); ?>><?php echo $_item_title; ?></option>
87
  <?php endforeach; ?>
88
  </optgroup>
 
89
  <?php if (isset($items['ads'])) : ?>
90
  <optgroup label="<?php _e('Ads', ADVADS_SLUG); ?>">
91
- <?php foreach ($items['ads'] as $_item_id => $_item_title) : ?>
92
  <option value="<?php echo $_item_id; ?>" <?php if (isset($_placement['item'])) selected($_item_id, $_placement['item']); ?>><?php echo $_item_title; ?></option>
93
  <?php endforeach; ?>
94
  </optgroup>
95
- <?php endif; ?>
96
- <?php endif; ?>
97
  </select><br/>
98
  <?php
99
  switch ($_placement['type']) :
86
  <option value="<?php echo $_item_id; ?>" <?php if (isset($_placement['item'])) selected($_item_id, $_placement['item']); ?>><?php echo $_item_title; ?></option>
87
  <?php endforeach; ?>
88
  </optgroup>
89
+ <?php endif; ?>
90
  <?php if (isset($items['ads'])) : ?>
91
  <optgroup label="<?php _e('Ads', ADVADS_SLUG); ?>">
92
+ <?php foreach ($items['ads'] as $_item_id => $_item_title) : ?>
93
  <option value="<?php echo $_item_id; ?>" <?php if (isset($_placement['item'])) selected($_item_id, $_placement['item']); ?>><?php echo $_item_title; ?></option>
94
  <?php endforeach; ?>
95
  </optgroup>
96
+ <?php endif; ?>
 
97
  </select><br/>
98
  <?php
99
  switch ($_placement['type']) :
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.3
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.4
16
  * Author: Thomas Maier
17
  * Author URI: http://webgilde.com
18
  * Text Domain: advanced-ads
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.0.1
7
- Stable tag: 1.3.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -146,6 +146,10 @@ There is no revenue share. Advanced Ads doesn’t alter your ad codes in a way t
146
 
147
  == Changelog ==
148
 
 
 
 
 
149
  = 1.3.3 =
150
 
151
  * added column with ad details
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.0.1
7
+ Stable tag: 1.3.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
146
 
147
  == Changelog ==
148
 
149
+ = 1.3.4 =
150
+
151
+ * hotfix: display ads for placements when no ad group exists
152
+
153
  = 1.3.3 =
154
 
155
  * added column with ad details