Version Description
- fixed wrong links for ad groups and debug page
- display ad groups in ad list
Download this release
Release Info
Developer | webzunft |
Plugin | Advanced Ads |
Version | 1.2.4 |
Comparing to | |
See all releases |
Code changes from version 1.2.3 to 1.2.4
- admin/class-advanced-ads-admin.php +3 -3
- admin/views/settings.php +1 -1
- advanced-ads.php +1 -1
- public/class-advanced-ads.php +2 -2
- readme.txt +10 -1
admin/class-advanced-ads-admin.php
CHANGED
@@ -213,7 +213,7 @@ class Advanced_Ads_Admin {
|
|
213 |
$this->plugin_slug, __('Advanced Ads Settings', $this->plugin_slug), __('Settings', $this->plugin_slug), 'manage_options', $this->plugin_slug . '-settings', array($this, 'display_plugin_settings_page')
|
214 |
);
|
215 |
add_submenu_page(
|
216 |
-
|
217 |
);
|
218 |
}
|
219 |
|
@@ -371,12 +371,12 @@ class Advanced_Ads_Admin {
|
|
371 |
$plugin = Advanced_Ads::get_instance();
|
372 |
|
373 |
$defaultargs = array(
|
374 |
-
'post_type' => constant("Advanced_Ads::POST_TYPE_SLUG"),
|
375 |
'page' => 'advanced-ads-groups',
|
376 |
);
|
377 |
$args = $args + $defaultargs;
|
378 |
|
379 |
-
return add_query_arg($args, admin_url('
|
380 |
}
|
381 |
|
382 |
/**
|
213 |
$this->plugin_slug, __('Advanced Ads Settings', $this->plugin_slug), __('Settings', $this->plugin_slug), 'manage_options', $this->plugin_slug . '-settings', array($this, 'display_plugin_settings_page')
|
214 |
);
|
215 |
add_submenu_page(
|
216 |
+
null, __('Advanced Ads Debugging', $this->plugin_slug), __('Debug', $this->plugin_slug), 'manage_options', $this->plugin_slug . '-debug', array($this, 'display_plugin_debug_page')
|
217 |
);
|
218 |
}
|
219 |
|
371 |
$plugin = Advanced_Ads::get_instance();
|
372 |
|
373 |
$defaultargs = array(
|
374 |
+
// 'post_type' => constant("Advanced_Ads::POST_TYPE_SLUG"),
|
375 |
'page' => 'advanced-ads-groups',
|
376 |
);
|
377 |
$args = $args + $defaultargs;
|
378 |
|
379 |
+
return add_query_arg($args, admin_url('admin.php'));
|
380 |
}
|
381 |
|
382 |
/**
|
admin/views/settings.php
CHANGED
@@ -20,7 +20,7 @@
|
|
20 |
</form>
|
21 |
<hr/>
|
22 |
<ul>
|
23 |
-
<li><a href="/wp-admin/
|
24 |
<li><a href="http://wordpress.org/plugins/advanced-ads/" title="<?php _e('Advanced Ads on WordPress.org', $this->plugin_slug); ?>"><?php _e('Advanced Ads on wp.org', $this->plugin_slug); ?></a></li>
|
25 |
<li><a href="http://webgilde.com" title="<?php _e('the company behind Advanced Ads', $this->plugin_slug); ?>"><?php _e('webgilde GmbH', $this->plugin_slug); ?></a></li>
|
26 |
</ul>
|
20 |
</form>
|
21 |
<hr/>
|
22 |
<ul>
|
23 |
+
<li><a href="/wp-admin/admin.php?page=advanced-ads-debug"><?php _e('Debug Page', $this->plugin_slug); ?></a></li>
|
24 |
<li><a href="http://wordpress.org/plugins/advanced-ads/" title="<?php _e('Advanced Ads on WordPress.org', $this->plugin_slug); ?>"><?php _e('Advanced Ads on wp.org', $this->plugin_slug); ?></a></li>
|
25 |
<li><a href="http://webgilde.com" title="<?php _e('the company behind Advanced Ads', $this->plugin_slug); ?>"><?php _e('webgilde GmbH', $this->plugin_slug); ?></a></li>
|
26 |
</ul>
|
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.2.
|
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.2.4
|
16 |
* Author: Thomas Maier
|
17 |
* Author URI: http://webgilde.com
|
18 |
* Text Domain: advanced-ads
|
public/class-advanced-ads.php
CHANGED
@@ -25,7 +25,7 @@ class Advanced_Ads {
|
|
25 |
* @var string
|
26 |
*/
|
27 |
|
28 |
-
const VERSION = '1.2.
|
29 |
|
30 |
/**
|
31 |
* post type slug
|
@@ -506,7 +506,7 @@ class Advanced_Ads {
|
|
506 |
'show_ui' => true,
|
507 |
'show_in_nav_menus' => false,
|
508 |
'show_tagcloud' => false,
|
509 |
-
'show_admin_column' =>
|
510 |
'query_var' => false,
|
511 |
'rewrite' => false,
|
512 |
);
|
25 |
* @var string
|
26 |
*/
|
27 |
|
28 |
+
const VERSION = '1.2.4';
|
29 |
|
30 |
/**
|
31 |
* post type slug
|
506 |
'show_ui' => true,
|
507 |
'show_in_nav_menus' => false,
|
508 |
'show_tagcloud' => false,
|
509 |
+
'show_admin_column' => true,
|
510 |
'query_var' => false,
|
511 |
'rewrite' => false,
|
512 |
);
|
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: 3.5
|
6 |
Tested up to: 4.0.0
|
7 |
-
Stable tag: 1.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -134,6 +134,11 @@ There is no revenue share. Advanced Ads doesn’t alter your ad codes in a way t
|
|
134 |
|
135 |
== Changelog ==
|
136 |
|
|
|
|
|
|
|
|
|
|
|
137 |
= 1.2.3 =
|
138 |
|
139 |
major changes:
|
@@ -229,6 +234,10 @@ other fixes:
|
|
229 |
|
230 |
== Upgrade Notice ==
|
231 |
|
|
|
|
|
|
|
|
|
232 |
= 1.2.3 =
|
233 |
|
234 |
Fixes a bug with the missing menu item
|
4 |
Tags: ads, ad, adsense, display, banner, advertisements, adverts, advert, monetization
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.0.0
|
7 |
+
Stable tag: 1.2.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
134 |
|
135 |
== Changelog ==
|
136 |
|
137 |
+
= 1.2.4 =
|
138 |
+
|
139 |
+
* fixed wrong links for ad groups and debug page
|
140 |
+
* display ad groups in ad list
|
141 |
+
|
142 |
= 1.2.3 =
|
143 |
|
144 |
major changes:
|
234 |
|
235 |
== Upgrade Notice ==
|
236 |
|
237 |
+
= 1.2.4 =
|
238 |
+
|
239 |
+
Fixes bug that prevented to create and edit ad groups
|
240 |
+
|
241 |
= 1.2.3 =
|
242 |
|
243 |
Fixes a bug with the missing menu item
|